Class ExceptionHandler
java.lang.Object
org.apache.bcel.verifier.structurals.ExceptionHandler
This class represents an exception handler; that is, an ObjectType representing a subclass of
Throwable
and
the instruction the handler starts off (represented by an InstructionContext).-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ObjectType
The type of the exception to catch.(package private) static final ExceptionHandler[]
private final InstructionHandle
The InstructionHandle where the handling begins. -
Constructor Summary
ConstructorsConstructorDescriptionExceptionHandler
(ObjectType catchType, InstructionHandle handlerPc) Leave instance creation to JustIce. -
Method Summary
Modifier and TypeMethodDescriptionReturns the type of the exception that's handled.Returns the InstructionHandle where the handler starts off.
-
Field Details
-
EMPTY_ARRAY
-
catchType
The type of the exception to catch. NULL means ANY. -
handlerPc
The InstructionHandle where the handling begins.
-
-
Constructor Details
-
ExceptionHandler
ExceptionHandler(ObjectType catchType, InstructionHandle handlerPc) Leave instance creation to JustIce.
-
-
Method Details
-
getExceptionType
Returns the type of the exception that's handled. 'null' means 'ANY'. -
getHandlerStart
Returns the InstructionHandle where the handler starts off.
-