src/share/classes/jdk/internal/org/objectweb/asm/tree/analysis/AnalyzerException.java
Print this page
*** 73,93 ****
public AnalyzerException(final AbstractInsnNode node, final String msg) {
super(msg);
this.node = node;
}
! public AnalyzerException(final AbstractInsnNode node, final String msg, final Throwable exception) {
super(msg, exception);
this.node = node;
}
! public AnalyzerException(
! final AbstractInsnNode node,
! final String msg,
! final Object expected,
! final Value encountered)
! {
super((msg == null ? "Expected " : msg + ": expected ") + expected
+ ", but found " + encountered);
this.node = node;
}
}
--- 73,90 ----
public AnalyzerException(final AbstractInsnNode node, final String msg) {
super(msg);
this.node = node;
}
! public AnalyzerException(final AbstractInsnNode node, final String msg,
! final Throwable exception) {
super(msg, exception);
this.node = node;
}
! public AnalyzerException(final AbstractInsnNode node, final String msg,
! final Object expected, final Value encountered) {
super((msg == null ? "Expected " : msg + ": expected ") + expected
+ ", but found " + encountered);
this.node = node;
}
}