org.fife.rsta.ac.java.classreader.attributes
Class Exceptions

java.lang.Object
  extended by org.fife.rsta.ac.java.classreader.attributes.AttributeInfo
      extended by 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

Field Summary
 
Fields inherited from class org.fife.rsta.ac.java.classreader.attributes.AttributeInfo
attributeNameIndex
 
Constructor Summary
Exceptions(MethodInfo mi, int[] exceptionIndexTable)
          Constructor.
 
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 org.fife.rsta.ac.java.classreader.attributes.AttributeInfo
getClassFile, getName, readUnsupportedAttribute, skipBytes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Exceptions

public Exceptions(MethodInfo mi,
                  int[] exceptionIndexTable)
Constructor.

Parameters:
mi - The method this attribute is describing.
Method Detail

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.