public class CommandException extends TextMessageException
Constructor and Description |
---|
CommandException(Text message)
Constructs a new
CommandException with the given message. |
CommandException(Text message,
Throwable cause)
Constructs a new
CommandException with the given message and
the given cause. |
getLocalizedMessage, getMessage, getText
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public CommandException(Text message)
CommandException
with the given message.message
- The detail messagepublic CommandException(Text message, Throwable cause)
CommandException
with the given message and
the given cause.message
- The detail messagecause
- The cause