Class PluginException

    • Constructor Detail

      • 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 Detail

      • getErrors

        public Collection<PluginIssuegetErrors()
        Returns errors gathered by the PluginsManager while loading plugins.
        Returns:
        errors gathered by the PluginsManager while loading plugins.
      • getSafeModeErrors

        public Collection<PluginIssuegetSafeModeErrors()
        Returns errors gathered by the PluginsManager while loading the safe mode.
        Returns:
        errors gathered by the PluginsManager while loading the safe mode.