Class ServerPluginException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.destroystokyo.paper.exception.ServerException
com.destroystokyo.paper.exception.ServerPluginException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- ServerEventException,- ServerPluginEnableDisableException,- ServerPluginMessageException,- ServerSchedulerException
Wrapper exception for all cases to which a plugin can be immediately blamed for
- See Also:
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedServerPluginException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace, Plugin responsiblePlugin) ServerPluginException(String message, Throwable cause, Plugin responsiblePlugin) ServerPluginException(Throwable cause, Plugin responsiblePlugin) 
- 
Method SummaryModifier and TypeMethodDescriptionGets the plugin which is directly responsible for the exception being thrownMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
ServerPluginException
- 
ServerPluginException
- 
ServerPluginException
 
- 
- 
Method Details- 
getResponsiblePluginGets the plugin which is directly responsible for the exception being thrown- Returns:
- plugin which is responsible for the exception throw
 
 
-