Package studio.mevera.imperat.exception
Class SelfHandlingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
studio.mevera.imperat.exception.CommandException
studio.mevera.imperat.exception.SelfHandlingException
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract <S extends CommandSource>
voidhandle(CommandContext<S> context) Handles the exceptionMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SelfHandlingException
public SelfHandlingException()
-
-
Method Details
-
handle
Handles the exception- Type Parameters:
S- the command-source valueType- Parameters:
context- the context
-