Package fr.igred.omero.exception
Class ServiceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
omero.gateway.exception.DSOutOfServiceException
fr.igred.omero.exception.ServiceException
- All Implemented Interfaces:
Serializable
Reports an error occurred while trying to access the OMERO service. Such an error can occur in the following case:
broken connection, expired session or not logged in.
- See Also:
-
Constructor Summary
ConstructorDescriptionServiceException
(String message, Throwable cause) Constructs a new exception with the specified cause and a generic message.ServiceException
(String message, Throwable cause, ConnectionStatus connectionStatus) Constructs a new exception with the specified cause and a generic message.ServiceException
(String message, DSOutOfServiceException cause) Constructs a new exception with the specified cause and a generic message.ServiceException
(Throwable cause, ConnectionStatus connectionStatus) Constructs a new exception with the specified cause and a generic message. -
Method Summary
Methods inherited from class omero.gateway.exception.DSOutOfServiceException
getConnectionStatus
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ServiceException
Constructs a new exception with the specified cause and a generic message.- Parameters:
message
- Short explanation of the problem.cause
- The exception that caused this one to be risen.connectionStatus
- The status of the connection to the server.
-
ServiceException
Constructs a new exception with the specified cause and a generic message.- Parameters:
cause
- The exception that caused this one to be risen.connectionStatus
- The status of the connection to the server.
-
ServiceException
Constructs a new exception with the specified cause and a generic message.- Parameters:
message
- Short explanation of the problem.cause
- The exception that caused this one to be risen.
-
ServiceException
Constructs a new exception with the specified cause and a generic message.- Parameters:
message
- Short explanation of the problem.cause
- The exception that caused this one to be risen.
-