Class GenericCommandException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.zetaplugins.zetacore.commands.exceptions.CommandException
com.zetaplugins.zetacore.commands.exceptions.GenericCommandException
- All Implemented Interfaces:
Serializable
A generic command exception that can be used for various command errors.
This exception holds a handler to process the exception when it occurs.
This must NOT be explicitly registered using
This must NOT be explicitly registered using
PluginCommand.registerExceptionHandler(Class, CommandExceptionHandler),- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionGenericCommandException(String message, CommandExceptionHandler<GenericCommandException> handler) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
GenericCommandException
-
GenericCommandException
public GenericCommandException(String message, CommandExceptionHandler<GenericCommandException> handler)
-
-
Method Details
-
getHandler
-