|
|
|
sorry with better formatting this time:
This is what I've added to JaninoJavaCompiler for now. try { compiler.compile(resources); } catch ( ScanException e ) { problems.add(new JaninoCompilationProblem(e)); // is this already handled? } catch ( ParseException e ) { problems.add(new JaninoCompilationProblem(e)); // we know this isn't handled } catch ( IOException e ) { // I'm hoping the existing compiler problems handler catches these } catch ( CompileException e ) { // I'm hoping the existing compiler problems handler catches these } |
||||||||||||||||||||||||||||||||||||||||||
This is what I've added to JaninoJavaCompiler for now.
try { compiler.compile(resources); } catch ( ScanException e ) { problems.add(new JaninoCompilationProblem(e)); // is this already handled? } catch ( ParseException e ) { problems.add(new JaninoCompilationProblem(e)); // we know this isn't handled } catch ( IOException e ) { // I'm hoping the existing compiler problems handler catches these } catch ( CompileException e ) { // I'm hoping the existing compiler problems handler catches these }