pyosirix.osirix.Exceptions

View Source
class GrpcException(Exception):
	"""Exception raised when connection to OsiriX cannot be established

	Attributes:
		message -- explanation of the error

	"""
	def __init__(self, message : str =""):
		self.message = message
		super().__init__(self.message)

class WaitException(Exception):
	"""Exception raised when there is an issue with Wait

	Attributes:
		message -- explanation of the error

	"""
	def __init__(self, message : str = ""):
		self.message = message
		super().__init__(self.message)

class OsirixServiceException(Exception):
	"""Exception raised when Osirix Service Stub does not exist

	Attributes:
		message -- explanation of the error

	"""
	def __init__(self, message : str =""):
		self.message = message
		super().__init__(self.message)
#   class GrpcException(builtins.Exception):
View Source
class GrpcException(Exception):
	"""Exception raised when connection to OsiriX cannot be established

	Attributes:
		message -- explanation of the error

	"""
	def __init__(self, message : str =""):
		self.message = message
		super().__init__(self.message)

Exception raised when connection to OsiriX cannot be established

Attributes: message -- explanation of the error

#   GrpcException(message: str = '')
View Source
	def __init__(self, message : str =""):
		self.message = message
		super().__init__(self.message)
Inherited Members
builtins.BaseException
with_traceback
args
#   class WaitException(builtins.Exception):
View Source
class WaitException(Exception):
	"""Exception raised when there is an issue with Wait

	Attributes:
		message -- explanation of the error

	"""
	def __init__(self, message : str = ""):
		self.message = message
		super().__init__(self.message)

Exception raised when there is an issue with Wait

Attributes: message -- explanation of the error

#   WaitException(message: str = '')
View Source
	def __init__(self, message : str = ""):
		self.message = message
		super().__init__(self.message)
Inherited Members
builtins.BaseException
with_traceback
args
#   class OsirixServiceException(builtins.Exception):
View Source
class OsirixServiceException(Exception):
	"""Exception raised when Osirix Service Stub does not exist

	Attributes:
		message -- explanation of the error

	"""
	def __init__(self, message : str =""):
		self.message = message
		super().__init__(self.message)

Exception raised when Osirix Service Stub does not exist

Attributes: message -- explanation of the error

#   OsirixServiceException(message: str = '')
View Source
	def __init__(self, message : str =""):
		self.message = message
		super().__init__(self.message)
Inherited Members
builtins.BaseException
with_traceback
args