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