Class ServerEventException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.destroystokyo.paper.exception.ServerException
com.destroystokyo.paper.exception.ServerPluginException
com.destroystokyo.paper.exception.ServerEventException
- All Implemented Interfaces:
- Serializable
Exception thrown when a server event listener throws an exception
- See Also:
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedServerEventException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace, Plugin responsiblePlugin, Listener listener, Event event) ServerEventException(String message, Throwable cause, Plugin responsiblePlugin, Listener listener, Event event) ServerEventException(Throwable cause, Plugin responsiblePlugin, Listener listener, Event event) 
- 
Method SummaryModifier and TypeMethodDescriptiongetEvent()Gets the event which caused the exceptionGets the listener which threw the exceptionMethods inherited from class com.destroystokyo.paper.exception.ServerPluginExceptiongetResponsiblePluginMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
ServerEventException
- 
ServerEventException
- 
ServerEventException
 
- 
- 
Method Details- 
getListenerGets the listener which threw the exception- Returns:
- event listener
 
- 
getEventGets the event which caused the exception- Returns:
- event
 
 
-