My program tries to determine which program to use by using java.lang.NoClassDefFoundError Errors, however the DynamicJava evaluator catches them... or something like that.
--8< -- 8<-- call: Parser.getInstance(...);
getInstance: ... try { parser = new ....parser(...); return parser; } catch (NoClassDefFoundError ncde) { //do stuff accordingly }
Argh... So I catch my errors, but the interpreter still throws it... *grumble*
Log in to post a comment.
My program tries to determine which program to use by using java.lang.NoClassDefFoundError Errors, however the DynamicJava evaluator catches them... or something like that.
--8< -- 8<--
call:
Parser.getInstance(...);
getInstance:
...
try {
parser = new ....parser(...);
return parser;
} catch (NoClassDefFoundError ncde) {
//do stuff accordingly
}
Argh... So I catch my errors, but the interpreter still throws it... *grumble*