public class DSOutOfServiceException
extends java.lang.Exception
Constructor and Description |
---|
DSOutOfServiceException(java.lang.String message)
Constructs a new exception with the specified detail message.
|
DSOutOfServiceException(java.lang.String message,
ConnectionStatus connectionStatus)
Constructs a new exception with the specified detail message.
|
DSOutOfServiceException(java.lang.String message,
java.lang.Throwable cause)
Constructs a new exception with the specified detail message and cause.
|
DSOutOfServiceException(java.lang.String message,
java.lang.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 |
public DSOutOfServiceException(java.lang.String message)
message
- Short explanation of the problem.public DSOutOfServiceException(java.lang.String message, ConnectionStatus connectionStatus)
message
- Short explanation of the problem.connectionStatus
- The status of the connection to the serverpublic DSOutOfServiceException(java.lang.String message, java.lang.Throwable cause)
message
- Short explanation of the problem.cause
- The exception that caused this one to be risen.public DSOutOfServiceException(java.lang.String message, java.lang.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