Class ServerPluginException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ServerEventException, ServerPluginEnableDisableException, ServerPluginMessageException, ServerSchedulerException

public class ServerPluginException extends ServerException
Wrapper exception for all cases to which a plugin can be immediately blamed for
See Also:
Serialized Form
  • Constructor Details

    • ServerPluginException

      public ServerPluginException(String message, Throwable cause, Plugin responsiblePlugin)
    • ServerPluginException

      public ServerPluginException(Throwable cause, Plugin responsiblePlugin)
    • ServerPluginException

      protected ServerPluginException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace, Plugin responsiblePlugin)
  • Method Details

    • 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