Class ProxyEventException
java.lang.Object
java.lang.Throwable
java.lang.Exception
io.github.waterfallmc.waterfall.exception.ProxyException
io.github.waterfallmc.waterfall.exception.ProxyEventException
- All Implemented Interfaces:
Serializable
Exception thrown when a server event listener throws an exception
- See Also:
-
Constructor Summary
ModifierConstructorDescriptionprotected
ProxyEventException
(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace, Listener listener, Event event) ProxyEventException
(String message, Throwable cause, Listener listener, Event event) ProxyEventException
(Throwable cause, Listener listener, Event event) -
Method Summary
Modifier and TypeMethodDescriptiongetEvent()
Gets the event which caused the exceptionGets the listener which threw the exceptionMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ProxyEventException
-
ProxyEventException
-
ProxyEventException
-
-
Method Details
-
getListener
Gets the listener which threw the exception- Returns:
- event listener
-
getEvent
Gets the event which caused the exception- Returns:
- event
-