Class PluginException

All Implemented Interfaces:
Serializable

public class PluginException extends RuntimeException
Exception thrown by the PluginsManager when plugins loading fails.
It is only the case when the safe mode itself fails to load.
See Also:
  • Constructor Details

    • PluginException

      public PluginException(String message, Collection<PluginIssue> errors, Collection<PluginIssue> safeModeErrors)
      Constructor.
      Parameters:
      message - the detail message.
      errors - the errors gathered by the PluginsManager while loading plugins
      safeModeErrors - the errors gathered by the PluginsManager while loading the safe mode.
    • PluginException

      public PluginException(String message, Throwable cause, Collection<PluginIssue> errors, Collection<PluginIssue> safeModeErrors)
      Constructor.
      Parameters:
      message - the detail message.
      cause - the cause, if any.
      errors - the errors gathered by the PluginsManager while loading plugins
      safeModeErrors - the errors gathered by the PluginsManager while loading the safe mode.
  • Method Details

    • getErrors

      Returns errors gathered by the PluginsManager while loading plugins.
      Returns:
      errors gathered by the PluginsManager while loading plugins.
    • getSafeModeErrors

      Returns errors gathered by the PluginsManager while loading the safe mode.
      Returns:
      errors gathered by the PluginsManager while loading the safe mode.