if (properties.containsKey(key)) {\r
return properties.get(key);\r
} \r
- throw new Error("Missing mandatory parameter: " + key); \r
+ throw new MissingMandatoryParameterException("Missing mandatory parameter: " + key); \r
}\r
\r
@Override\r
public String getConfigFilePath() {\r
- return moduleConfig.getConfigFilePath();\r
+ return (moduleConfig != null ? moduleConfig.getConfigFilePath() : "nopath");\r
}\r
\r
\r