Class ServerEventException

All Implemented Interfaces:
Serializable

public class ServerEventException extends ServerPluginException
Exception thrown when a server event listener throws an exception
See Also:
Serialized Form
  • Constructor Details

    • ServerEventException

      public ServerEventException(String message, Throwable cause, Plugin responsiblePlugin, Listener listener, Event event)
    • ServerEventException

      public ServerEventException(Throwable cause, Plugin responsiblePlugin, Listener listener, Event event)
    • ServerEventException

      protected ServerEventException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace, Plugin responsiblePlugin, Listener listener, Event event)
  • Method Details

    • getListener

      public Listener getListener()
      Gets the listener which threw the exception
      Returns:
      event listener
    • getEvent

      public Event getEvent()
      Gets the event which caused the exception
      Returns:
      event