org.fife.rsta.ac.java.classreader.attributes
Class Exceptions
java.lang.Object
org.fife.rsta.ac.java.classreader.attributes.AttributeInfo
org.fife.rsta.ac.java.classreader.attributes.Exceptions
public class Exceptions
- extends AttributeInfo
Implementation of the "Exceptions" attribute found in
MethodInfos.
- Version:
- 1.0
- Author:
- Robert Futrell
|
Method Summary |
String |
getException(int index)
Returns the fully-qualified name of the specified exception. |
int |
getExceptionCount()
Returns the number of exceptions this attribute knows about. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Exceptions
public Exceptions(MethodInfo mi,
int[] exceptionIndexTable)
- Constructor.
- Parameters:
mi - The method this attribute is describing.
getException
public String getException(int index)
- Returns the fully-qualified name of the specified exception.
- Parameters:
index - The index of the exception whose name to retrieve.
- Returns:
- The name of the exception.
getExceptionCount
public int getExceptionCount()
- Returns the number of exceptions this attribute knows about.
- Returns:
- The number of exceptions.
Copyright © 2003-2011. All Rights Reserved.