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