Class ProxyPluginException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- io.github.waterfallmc.waterfall.exception.ProxyException
-
- io.github.waterfallmc.waterfall.exception.ProxyPluginException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ProxyPluginEnableDisableException
,ProxyPluginMessageException
,ProxySchedulerException
public class ProxyPluginException extends ProxyException
Wrapper exception for all cases to which a plugin can be immediately blamed for- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ProxyPluginException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace, Plugin responsiblePlugin)
ProxyPluginException(String message, Throwable cause, Plugin responsiblePlugin)
ProxyPluginException(Throwable cause, Plugin responsiblePlugin)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Plugin
getResponsiblePlugin()
Gets the plugin which is directly responsible for the exception being thrown-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
getResponsiblePlugin
public Plugin getResponsiblePlugin()
Gets the plugin which is directly responsible for the exception being thrown- Returns:
- plugin which is responsible for the exception throw
-
-