public class CommandServiceException extends Exception
Constructor and Description |
---|
CommandServiceException(String message)
Constructs a new
CommandServiceException with the specified detail message. |
CommandServiceException(String message,
Throwable cause)
Constructs a new
CommandServiceException with the specified detail message and
cause. |
CommandServiceException(Throwable cause)
Constructs a new
CommandServiceException by wrapping the specified cause. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public CommandServiceException(String message, Throwable cause)
CommandServiceException
with the specified detail message and
cause.message
- The detail message.cause
- The cause of this exception or null
if the cause is unknown.public CommandServiceException(String message)
CommandServiceException
with the specified detail message.message
- The detail message.public CommandServiceException(Throwable cause)
CommandServiceException
by wrapping the specified cause. The
detail for this exception will be null if the cause is null or cause.toString() if a cause is
provided.cause
- The cause of this exception or null
if the cause is unknown.