| Modifier and Type | Field and Description |
|---|---|
| private final CPClass | |
| private int | |
| private final int | |
| private int | |
| private final int | |
| private int | |
| private final int | |
| private int |
| Access | Constructor and Description |
|---|---|
| public | ExceptionTableEntry(final int
int startPC, final int int endPC, final int int handlerPC, final CPClass CPClass (if it's a normal catch) or null (if it's a finally clause). catchType)Constructs a new ExceptionTableEntry. |
| Modifier and Type | Method and Description |
|---|---|
| public CPClass | |
| public void | |
| public void | |
| public void |
| catchType | back to summary |
|---|---|
| private final CPClass catchType | |
| catchTypeIndex | back to summary |
|---|---|
| private int catchTypeIndex | |
| endPC | back to summary |
|---|---|
| private final int endPC | |
| endPcRenumbered | back to summary |
|---|---|
| private int endPcRenumbered | |
| handlerPC | back to summary |
|---|---|
| private final int handlerPC | |
| handlerPcRenumbered | back to summary |
|---|---|
| private int handlerPcRenumbered | |
| startPC | back to summary |
|---|---|
| private final int startPC | |
| startPcRenumbered | back to summary |
|---|---|
| private int startPcRenumbered | |
| ExceptionTableEntry | back to summary |
|---|---|
| public ExceptionTableEntry(final int startPC, final int endPC, final int handlerPC, final CPClass catchType) Constructs a new ExceptionTableEntry. Exception tables are of two kinds: either a normal one (with a Throwable as the catchType) or a finally clause (which has no catchType). In the class file, the finally clause is represented as catchType == 0. To create a finally clause with this method, pass in null for the catchType.
| |
| getCatchType | back to summary |
|---|---|
| public CPClass getCatchType() | |
| renumber | back to summary |
|---|---|
| public void renumber(final List<Integer> byteCodeOffsets) | |
| resolve | back to summary |
|---|---|
| public void resolve(final ClassConstantPool pool) | |
| write | back to summary |
|---|---|
| public void write(final DataOutputStream dos) throws IOException | |