Code
| Modifier and Type | Field and Description |
|---|---|
| private int[] | |
| private int |
| Access | Constructor and Description |
|---|---|
| public | |
| public | ExceptionTable(int
Index in constant pool name_index, int Content length in bytes length, int[] Table of indices in constant pool exception_index_table, ConstantPool Array of constants constant_pool)
|
| pack-priv | ExceptionTable(int
Index in constant pool name_index, int Content length in bytes length, DataInputStream Input stream file, ConstantPool Array of constants constant_pool)Construct object from file stream. |
| Modifier and Type | Method and Description |
|---|---|
| public void | accept(ClassVisitor
Visitor object v)Implements abstract org. Implements org. |
| public final void | dump(DataOutputStream
Output file stream file)
Dump exceptions attribute to file stream in binary format.
|
| public final int[] | |
| public final String[] | |
| public final int | |
| public final void | setExceptionIndexTable(int[]
Also redefines number_of_exceptions according to table length. exception_index_table)
|
| public final String | Returns: String representation, i.e., a list of thrown exceptions.Overrides org. |
| exception_index_table | back to summary |
|---|---|
| private int[] exception_index_table | |
| number_of_exceptions | back to summary |
|---|---|
| private int number_of_exceptions | |
| ExceptionTable | back to summary |
|---|---|
| public ExceptionTable(ExceptionTable c) Initialize from another object. Note that both objects use the same references (shallow copy). Use copy() for a physical copy. | |
| ExceptionTable | back to summary |
|---|---|
public ExceptionTable(int name_index, int length, int[] exception_index_table, ConstantPool constant_pool)
| |
| ExceptionTable | back to summary |
|---|---|
| pack-priv ExceptionTable(int name_index, int length, DataInputStream file, ConstantPool constant_pool) throws IOException Construct object from file stream.
| |
| accept | back to summary |
|---|---|
| public void accept(ClassVisitor v) Implements abstract org. Implements org. Called by objects that are traversing the nodes of the tree implicitely defined by the contents of a Java class. I.e., the hierarchy of methods, fields, attributes, etc. spawns a tree of objects.
| |
| dump | back to summary |
|---|---|
| public final void dump(DataOutputStream file) throws IOException Overrides org. Dump exceptions attribute to file stream in binary format.
| |
| getExceptionIndexTable | back to summary |
|---|---|
public final int[] getExceptionIndexTable()
| |
| getExceptionNames | back to summary |
|---|---|
public final String[] getExceptionNames()
| |
| getNumberOfExceptions | back to summary |
|---|---|
public final int getNumberOfExceptions()
| |
| setExceptionIndexTable | back to summary |
|---|---|
public final void setExceptionIndexTable(int[] exception_index_table)
| |
| toString | back to summary |
|---|---|
| public final String toString() Overrides org. Doc from java. Returns a string representation of the object. | |