Throwable and
the instruction the handler starts off (represented by an InstructionContext).
| Modifier and Type | Field and Description |
|---|---|
| private final ObjectType | catchType
The type of the exception to catch. |
| pack-priv static final ExceptionHandler[] | |
| private final InstructionHandle | handlerPc
The InstructionHandle where the handling begins. |
| Access | Constructor and Description |
|---|---|
| pack-priv | ExceptionHandler(final ObjectType catchType, final InstructionHandle handlerPc)
Leave instance creation to JustIce. |
| Modifier and Type | Method and Description |
|---|---|
| public ObjectType | |
| public InstructionHandle |
| catchType | back to summary |
|---|---|
| private final ObjectType catchType The type of the exception to catch. NULL means ANY. | |
| EMPTY_ARRAY | back to summary |
|---|---|
| pack-priv static final ExceptionHandler[] EMPTY_ARRAY | |
| handlerPc | back to summary |
|---|---|
| private final InstructionHandle handlerPc The InstructionHandle where the handling begins. | |
| ExceptionHandler | back to summary |
|---|---|
| pack-priv ExceptionHandler(final ObjectType catchType, final InstructionHandle handlerPc) Leave instance creation to JustIce. | |
| getExceptionType | back to summary |
|---|---|
| public ObjectType getExceptionType() Returns the type of the exception that's handled. 'null' means 'ANY'. | |
| getHandlerStart | back to summary |
|---|---|
| public InstructionHandle getHandlerStart() Returns the InstructionHandle where the handler starts off. | |