public class DSOutOfServiceException extends Exception
Constructor and Description |
---|
DSOutOfServiceException(String message)
Constructs a new exception with the specified detail message.
|
DSOutOfServiceException(String message,
ConnectionStatus connectionStatus)
Constructs a new exception with the specified detail message.
|
DSOutOfServiceException(String message,
Throwable cause)
Constructs a new exception with the specified detail message and cause.
|
DSOutOfServiceException(String message,
Throwable cause,
ConnectionStatus connectionStatus)
Constructs a new exception with the specified detail message and cause.
|
Modifier and Type | Method and Description |
---|---|
ConnectionStatus |
getConnectionStatus()
Gets the
ConnectionStatus |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public DSOutOfServiceException(String message)
message
- Short explanation of the problem.public DSOutOfServiceException(String message, ConnectionStatus connectionStatus)
message
- Short explanation of the problem.connectionStatus
- The status of the connection to the serverpublic DSOutOfServiceException(String message, Throwable cause)
message
- Short explanation of the problem.cause
- The exception that caused this one to be risen.public DSOutOfServiceException(String message, Throwable cause, ConnectionStatus connectionStatus)
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.public ConnectionStatus getConnectionStatus()
ConnectionStatus
Version: 5.3.3-ice35-b63
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.