Class HandlerException

java.lang.Object
java.lang.Throwable
java.lang.Exception
civitas.celestis.exception.event.HandlerException
All Implemented Interfaces:
Serializable

public class HandlerException extends Exception
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 Details

    • HandlerException

      public HandlerException()
      Creates a new handler exception with no message and no cause.
    • HandlerException

      public HandlerException(@Nonnull String message)
      Creates a new handler exception with no cause.
      Parameters:
      message - The message containing information about this exception
    • HandlerException

      public HandlerException(@Nonnull String message, @Nullable Throwable cause)
      Creates a new handler exception.
      Parameters:
      message - The message containing information about this exception
      cause - The cause of this exception
    • HandlerException

      public HandlerException(@Nullable Throwable cause)
      Creates a new handler exception with no message.
      Parameters:
      cause - The cause of this exception