* @return a String containing the prop. value
*/
public static String getProp(String propName) {
- return (String)configHash.get(propName);
+ String result = (String)configHash.get(propName);
+
+ if (result==null)
+ throw new RuntimeException("config property '"+propName+"' not available!");
+
+ return result;
}
/**