catch runtime exception in dump

git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@939 379699f6-c40d-0410-875b-85095c16579e
stable
jochen 25 years ago
parent 39ec800e12
commit d0c889ccfe
  1. 7
      jode/jode/flow/InstructionBlock.java

@ -144,7 +144,12 @@ public class InstructionBlock extends InstructionContainer {
} else {
if (instr.getType() != Type.tVoid)
writer.print("PUSH ");
instr.dumpExpression(writer);
try {
instr.dumpExpression(writer);
} catch (RuntimeException ex) {
writer.print("(RUNTIME ERROR IN EXPRESSION)");
}
}
writer.println(";");
}

Loading…
Cancel
Save