change from:
for (Enumeration keys = props.keys(); keys.hasMoreElements();){
String key = (String)keys.nextElement();
String classname = props.getProperty(key);
try {
Class.forName(classname);
props.remove(key);
} catch (Exception ex){
out.println(key + " : Not Available");
}
to:
for (Enumeration keys = props.keys(); keys.hasMoreElements();){
String key = (String)keys.nextElement();
String classname = props.getProperty(key);
try {
Class.forName(classname);
props.remove(key);
} catch (Exception ex){
out.println(key + " : Not Available");
} catch (Error e){
out.println(key + " : Not Available");
}
So that a NoClassDefFoundError does not stop the listing.
