@Internal
public interface PluginExceptionInterception
| 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.
|
boolean onEnableException(Plugin plugin, Exception pluginException)
This 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.
plugin - the plugin that has failed to be enabledpluginException - the exception that was thrown during plugin enableCopyright © 2019 Atlassian. All rights reserved.