Package civitas.celestis.exception.event
Class HandlerException
java.lang.Object
java.lang.Throwable
java.lang.Exception
civitas.celestis.exception.event.HandlerException
- All Implemented Interfaces:
Serializable
An exception which is thrown when the handling of an event fails,
either by the method being inaccessible, or by the handler method itself
throwing an exception during the processing of the event.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new handler exception with no message and no cause.HandlerException(String message) Creates a new handler exception with no cause.HandlerException(String message, Throwable cause) Creates a new handler exception.HandlerException(Throwable cause) Creates a new handler exception with no message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
HandlerException
public HandlerException()Creates a new handler exception with no message and no cause. -
HandlerException
Creates a new handler exception with no cause.- Parameters:
message- The message containing information about this exception
-
HandlerException
Creates a new handler exception.- Parameters:
message- The message containing information about this exceptioncause- The cause of this exception
-
HandlerException
Creates a new handler exception with no message.- Parameters:
cause- The cause of this exception
-