Class CommandException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
me.github.simonplays15.betterbansystem.api.exceptions.CommandException
- All Implemented Interfaces:
Serializable
Exception that is thrown when a command encounters an error or exception.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionException that is thrown when a command encounters an error or exception.CommandException
(String message) Exception that is thrown when a command encounters an error or exception.CommandException
(String msg, Throwable throwable) Constructs a new CommandException with the specified detail message and cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CommandException
public CommandException()Exception that is thrown when a command encounters an error or exception. -
CommandException
Exception that is thrown when a command encounters an error or exception. -
CommandException
Constructs a new CommandException with the specified detail message and cause.- Parameters:
msg
- the detail message (which is saved for later retrieval by the getMessage() method).throwable
- the cause (which is saved for later retrieval by the getCause() method). A null value is permitted, and indicates that the cause is nonexistent or unknown
-