Class CommandFailException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
dev.plex.command.exception.CommandFailException
- All Implemented Interfaces:
Serializable
Signals that command execution failed with a user-facing message.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an exception with the default command failure marker message.CommandFailException(String message) Creates an exception with a custom user-facing failure message. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CommandFailException
public CommandFailException()Creates an exception with the default command failure marker message. -
CommandFailException
Creates an exception with a custom user-facing failure message.- Parameters:
message- failure message
-