Class ExceptionHandler
- java.lang.Object
-
- org.apache.bcel.verifier.structurals.ExceptionHandler
-
public class ExceptionHandler extends java.lang.Object
This class represents an exception handler; that is, an ObjectType representing a subclass of java.lang.Throwable and the instruction the handler starts off (represented by an InstructionContext).
-
-
Field Summary
Fields Modifier and Type Field Description private ObjectType
catchtype
The type of the exception to catch.private InstructionHandle
handlerpc
The InstructionHandle where the handling begins.
-
Constructor Summary
Constructors Constructor Description ExceptionHandler(ObjectType catch_type, InstructionHandle handler_pc)
Leave instance creation to JustIce.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectType
getExceptionType()
Returns the type of the exception that's handled.InstructionHandle
getHandlerStart()
Returns the InstructionHandle where the handler starts off.
-
-
-
Field Detail
-
catchtype
private final ObjectType catchtype
The type of the exception to catch. NULL means ANY.
-
handlerpc
private final InstructionHandle handlerpc
The InstructionHandle where the handling begins.
-
-
Constructor Detail
-
ExceptionHandler
ExceptionHandler(ObjectType catch_type, InstructionHandle handler_pc)
Leave instance creation to JustIce.
-
-
Method Detail
-
getExceptionType
public ObjectType getExceptionType()
Returns the type of the exception that's handled. 'null' means 'ANY'.
-
getHandlerStart
public InstructionHandle getHandlerStart()
Returns the InstructionHandle where the handler starts off.
-
-