catch runtime exceptions in dumpExpression

git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@929 379699f6-c40d-0410-875b-85095c16579e
stable
jochen 26 years ago
parent 938e5ab478
commit 9b5020c3ec
  1. 4
      jode/jode/expr/Expression.java

@ -267,7 +267,11 @@ public abstract class Expression {
writer.print("(");
}
try {
dumpExpression(writer);
} catch (RuntimeException ex) {
writer.print("(RUNTIME ERROR IN EXPRESSION)");
}
if (needParen2)
writer.print(")");

Loading…
Cancel
Save