Module org.eclipse.persistence.asm
Class AnalyzerException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.eclipse.persistence.internal.libraries.asm.tree.analysis.AnalyzerException
-
- All Implemented Interfaces:
Serializable
public class AnalyzerException extends Exception
An exception thrown if a problem occurs during the analysis of a method.- Author:
- Bing Ran, Eric Bruneton
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description AbstractInsnNodenodeThe bytecode instruction where the analysis failed.
-
Constructor Summary
Constructors Constructor Description AnalyzerException(AbstractInsnNode insn, String message)Constructs a newAnalyzerException.AnalyzerException(AbstractInsnNode insn, String message, Object expected, Value actual)Constructs a newAnalyzerException.AnalyzerException(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 Detail
-
node
public final transient AbstractInsnNode node
The bytecode instruction where the analysis failed.
-
-
Constructor Detail
-
AnalyzerException
public AnalyzerException(AbstractInsnNode insn, String message)
Constructs a newAnalyzerException.- Parameters:
insn- the bytecode instruction where the analysis failed.message- the reason why the analysis failed.
-
AnalyzerException
public AnalyzerException(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(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.
-
-