Package org.objectweb.asm.tree.analysis
Class AnalyzerException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.objectweb.asm.tree.analysis.AnalyzerException
- All Implemented Interfaces:
Serializable
An exception thrown if a problem occurs during the analysis of a method.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal org.objectweb.asm.tree.AbstractInsnNodeThe bytecode instruction where the analysis failed. -
Constructor Summary
ConstructorsConstructorDescriptionAnalyzerException(org.objectweb.asm.tree.AbstractInsnNode insn, String message) Constructs a newAnalyzerException.AnalyzerException(org.objectweb.asm.tree.AbstractInsnNode insn, String message, Object expected, Value actual) Constructs a newAnalyzerException.AnalyzerException(org.objectweb.asm.tree.AbstractInsnNode insn, String message, Throwable cause) Constructs a newAnalyzerException. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
node
public final transient org.objectweb.asm.tree.AbstractInsnNode nodeThe bytecode instruction where the analysis failed.
-
-
Constructor Details
-
AnalyzerException
Constructs a newAnalyzerException.- Parameters:
insn- the bytecode instruction where the analysis failed.message- the reason why the analysis failed.
-
AnalyzerException
public AnalyzerException(org.objectweb.asm.tree.AbstractInsnNode insn, String message, Throwable cause) Constructs a newAnalyzerException.- Parameters:
insn- the bytecode instruction where the analysis failed.message- the reason why the analysis failed.cause- the cause of the failure.
-
AnalyzerException
public AnalyzerException(org.objectweb.asm.tree.AbstractInsnNode insn, String message, Object expected, Value actual) Constructs a newAnalyzerException.- Parameters:
insn- the bytecode instruction where the analysis failed.message- the reason why the analysis failed.expected- an expected value.actual- the actual value, different from the expected one.
-