public class NoOpPluginExceptionInterception extends Object implements PluginExceptionInterception
| Modifier and Type | Field and Description |
|---|---|
static PluginExceptionInterception |
NOOP_INTERCEPTION |
| Modifier and Type | Method and Description |
|---|---|
boolean |
onEnableException(Plugin plugin,
Exception pluginException)
This is called when a plugin cant be enabled because an exception has been thrown.
|
public static final PluginExceptionInterception NOOP_INTERCEPTION
public boolean onEnableException(Plugin plugin, Exception pluginException)
PluginExceptionInterceptionThis is an intercept point for the host to do something meaningful like better logging or failed plugin tracking.
It must NOT propagate the exception out of this block because this will stop the plugin system in general for starting.
onEnableException in interface PluginExceptionInterceptionplugin - the plugin that has failed to be enabledpluginException - the exception that was thrown during plugin enableCopyright © 2019 Atlassian. All rights reserved.