| Constructor and Description |
|---|
Exceptions(ClassInfo classInfo,
java.io.DataInputStream in,
int nameIndex,
int length)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
int[] |
exceptionTypes()
Get the indices into the constant pool of the types of the exceptions
thrown by this method.
|
int |
length()
Get the length of the attribute.
|
java.lang.String |
toString()
Returns a string representation of the attribute.
|
void |
writeData(java.io.DataOutputStream out)
Write the attribute to a data stream.
|
public Exceptions(ClassInfo classInfo, java.io.DataInputStream in, int nameIndex, int length) throws java.io.IOException
in - The data stream of the class file.nameIndex - The index into the constant pool of the name of the attribute.length - The length of the attribute, excluding the header.java.io.IOException - If an error occurs while reading.public void writeData(java.io.DataOutputStream out)
throws java.io.IOException
public int[] exceptionTypes()