View Javadoc
1   package com.atlassian.plugin.module;
2   
3   import com.atlassian.plugin.PluginParseException;
4   
5   /**
6    * If a module class could not be found
7    *
8    * @since 2.5
9    */
10  public class ModuleClassNotFoundException extends PluginParseException {
11      private final String className;
12      private final String pluginKey;
13      private final String moduleKey;
14      private String errorMsg;
15  
16      public ModuleClassNotFoundException(String className, String pluginKey, String moduleKey, Exception ex, String errorMsg) {
17          super(ex);
18          this.className = className;
19          this.pluginKey = pluginKey;
20          this.moduleKey = moduleKey;
21          this.errorMsg = errorMsg;
22      }
23  
24      public String getClassName() {
25          return className;
26      }
27  
28      public String getPluginKey() {
29          return pluginKey;
30      }
31  
32      public String getModuleKey() {
33          return moduleKey;
34      }
35  
36      @Override
37      public String getMessage() {
38          return errorMsg;
39      }
40  }