Class EventListenerException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
eu.cloudnetservice.driver.event.EventListenerException
All Implemented Interfaces:
Serializable

public final class EventListenerException extends RuntimeException
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 Details

    • EventListenerException

      public EventListenerException(@NonNull @NonNull String message, @NonNull @NonNull Throwable cause)
      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.