Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
A corner case: catch the IllegalAccessError that can be thrown by the…
… StringMatrix
  • Loading branch information
egonw committed Feb 7, 2015
1 parent 047de44 commit b2f740d
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -127,6 +127,9 @@ public Object eval(String expression) {
try {
Object o = engine.eval(expression);
return o;
} catch ( IllegalAccessError e ) {
// TODO: this can be thrown by the StringMatrix, which should probably be fixed instead
return e.getMessage();
} catch ( ScriptException e ) {
BioclipseException bioEx = getBioclipseException(e);
if (bioEx != null) {
Expand Down

0 comments on commit b2f740d

Please sign in to comment.