public class Exceptions extends AttributeInfo
Exceptions" attribute found in
MethodInfos.attributeNameIndex| Constructor and Description |
|---|
Exceptions(MethodInfo mi,
int[] exceptionIndexTable)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getException(int index)
Returns the fully-qualified name of the specified exception.
|
int |
getExceptionCount()
Returns the number of exceptions this attribute knows about.
|
MethodInfo |
getMethodInfo()
Returns information about the method this attribute is describing.
|
getClassFile, getName, readUnsupportedAttributepublic Exceptions(MethodInfo mi, int[] exceptionIndexTable)
mi - The method this attribute is describing.public java.lang.String getException(int index)
index - The index of the exception whose name to retrieve.public int getExceptionCount()
public MethodInfo getMethodInfo()