public class ServiceException extends DSOutOfServiceException
Constructor and Description |
---|
ServiceException(String message,
DSOutOfServiceException cause)
Creates a ServiceException from a
DSOutOfServiceException . |
ServiceException(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(Throwable cause,
ConnectionStatus connectionStatus)
Constructs a new exception with the specified cause and a generic message.
|
getConnectionStatus
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ServiceException(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 ServiceException(Throwable cause, ConnectionStatus connectionStatus)
cause
- The exception that caused this one to be risen.connectionStatus
- The status of the connection to the server.public ServiceException(String message, DSOutOfServiceException cause)
DSOutOfServiceException
.message
- Short explanation of the problem.cause
- The exception that caused this one to be raised.Copyright © 2020–2023 GReD. All rights reserved.