Class EventListenerException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
eu.cloudnetservice.driver.event.EventListenerException
- All Implemented Interfaces:
Serializable
An exception to indicate that something went wrong in relation to an event listener. By default, this exception is
thrown when an event invoker cannot get generated successfully or a listener invocation fails for any reason.
- Since:
- 4.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionEventListenerException(@NonNull String message, @NonNull Throwable cause) Constructs a new event listener exception with the given message and cause. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
EventListenerException
Constructs a new event listener exception with the given message and cause.- Parameters:
message- the detailed context message why the exception occurred.cause- the cause why the exception occurred. In this cause the cause is required.- Throws:
NullPointerException- if either message or cause is null.
-