Top Description Fields Constructors
org.objectweb.asm.tree.analysis

public Class AnalyzerException

extends Exception
Class Inheritance
Imports
org.objectweb.asm.tree.AbstractInsnNode

An exception thrown if a problem occurs during the analysis of a method.
Authors
Bing Ran, Eric Bruneton

Field Summary

Modifier and TypeField and Description
public final transient AbstractInsnNode
node

The bytecode instruction where the analysis failed.

private static final long

Constructor Summary

AccessConstructor and Description
public
AnalyzerException(final AbstractInsnNode
the bytecode instruction where the analysis failed.
insn
,
final String
the reason why the analysis failed.
message
)

Constructs a new AnalyzerException.

public
AnalyzerException(final AbstractInsnNode
the bytecode instruction where the analysis failed.
insn
,
final String
the reason why the analysis failed.
message
,
final Throwable
the cause of the failure.
cause
)

Constructs a new AnalyzerException.

public
AnalyzerException(final AbstractInsnNode
the bytecode instruction where the analysis failed.
insn
,
final String
the reason why the analysis failed.
message
,
final Object
an expected value.
expected
,
final Value
the actual value, different from the expected one.
actual
)

Constructs a new AnalyzerException.

Field Detail

nodeback to summary
public final transient AbstractInsnNode node

The bytecode instruction where the analysis failed.

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.Exception.serialVersionUID.

Constructor Detail

AnalyzerExceptionback to summary
public AnalyzerException(final AbstractInsnNode insn, final String message)

Constructs a new AnalyzerException.

Parameters
insn:AbstractInsnNode

the bytecode instruction where the analysis failed.

message:String

the reason why the analysis failed.

AnalyzerExceptionback to summary
public AnalyzerException(final AbstractInsnNode insn, final String message, final Throwable cause)

Constructs a new AnalyzerException.

Parameters
insn:AbstractInsnNode

the bytecode instruction where the analysis failed.

message:String

the reason why the analysis failed.

cause:Throwable

the cause of the failure.

AnalyzerExceptionback to summary
public AnalyzerException(final AbstractInsnNode insn, final String message, final Object expected, final Value actual)

Constructs a new AnalyzerException.

Parameters
insn:AbstractInsnNode

the bytecode instruction where the analysis failed.

message:String

the reason why the analysis failed.

expected:Object

an expected value.

actual:Value

the actual value, different from the expected one.