main = mod.code.loadClass("Main");
} catch(ClassNotFoundException e) {
throw(new HandlerException(mod.file, "no Main class"));
+ } catch(NoClassDefFoundError e) {
+ throw(new HandlerException(mod.file, "class not found: " + e.getMessage()));
}
try {
Method wmain = main.getDeclaredMethod("wmain", String[].class);