public class PluginException extends RuntimeException
PluginsManager
when plugins loading fails.Modifier and Type | Field and Description |
---|---|
private Collection<PluginIssue> |
_errors |
private Collection<PluginIssue> |
_safeModeErrors |
Constructor and Description |
---|
PluginException(String message,
Collection<PluginIssue> errors,
Collection<PluginIssue> safeModeErrors)
Constructor.
|
PluginException(String message,
Throwable cause,
Collection<PluginIssue> errors,
Collection<PluginIssue> safeModeErrors)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Collection<PluginIssue> |
getErrors()
Returns errors gathered by the PluginsManager while loading plugins.
|
Collection<PluginIssue> |
getSafeModeErrors()
Returns errors gathered by the PluginsManager while loading the safe mode.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
private Collection<PluginIssue> _errors
private Collection<PluginIssue> _safeModeErrors
public PluginException(String message, Collection<PluginIssue> errors, Collection<PluginIssue> safeModeErrors)
message
- the detail message.errors
- the errors gathered by the PluginsManager while loading pluginssafeModeErrors
- the errors gathered by the PluginsManager while loading the safe mode.public PluginException(String message, Throwable cause, Collection<PluginIssue> errors, Collection<PluginIssue> safeModeErrors)
message
- the detail message.cause
- the cause, if any.errors
- the errors gathered by the PluginsManager while loading pluginssafeModeErrors
- the errors gathered by the PluginsManager while loading the safe mode.public Collection<PluginIssue> getErrors()
public Collection<PluginIssue> getSafeModeErrors()