View Javadoc
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       public static final PluginExceptionInterception NOOP_INTERCEPTION = new NoOpPluginExceptionInterception();
10  
11      private NoOpPluginExceptionInterception() {
12      }
13  
14      @Override
15      public boolean onEnableException(final Plugin plugin, final Exception pluginException) {
16          return true;
17      }
18  }