1 package com.atlassian.plugin.exception;
2
3 import com.atlassian.plugin.Plugin;
4
5 /**
6 * The equivalent of the old plugin system behaviour
7 */
8 public class NoOpPluginExceptionInterception implements PluginExceptionInterception
9 {
10 public static final PluginExceptionInterception NOOP_INTERCEPTION = new NoOpPluginExceptionInterception();
11
12 private NoOpPluginExceptionInterception()
13 {
14 }
15
16 @Override
17 public boolean onEnableException(final Plugin plugin, final Exception pluginException)
18 {
19 return true;
20 }
21 }