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
public class ProxyEventException extends ProxyException
Exception thrown when a server event listener throws an exception- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Event
getEvent()
Gets the event which caused the exceptionListener
getListener()
Gets the listener which threw the exception-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-