jef.dna.attributes
Interface ExceptionAttribute
- All Superinterfaces:
- Attribute, BytesCountable, java.lang.Cloneable
public interface ExceptionAttribute
- extends Attribute
Class representing an Exception Attribute. The Exceptions attribute is a variable-length
attribute used in the attributes table of a method_info structure. The Exceptions attribute
indicates which checked exceptions a method may throw. There may be at most one Exceptions
attribute in each method_info structure.
- Author:
- Francesco Russo frusso@cs.unibo.it
Method Summary |
java.util.List<java.lang.Integer> |
getExceptionIndexTable()
Gets the exception_index_table . |
int |
getNumberOfExceptions()
Gets the number of exceptions that will be stored within the
exception_index_table . |
getNumberOfExceptions
int getNumberOfExceptions()
- Gets the number of exceptions that will be stored within the
exception_index_table
.
- Returns:
- int Dimension of the
exception_index_table
getExceptionIndexTable
java.util.List<java.lang.Integer> getExceptionIndexTable()
- Gets the
exception_index_table
. This data strucutre is actually a
List
containing indexes pointing to constant pool table entries of type
CONSTANT_Class_info
. These entries define the classes of the exceptions this
method is declareced to throw
- Returns:
- List The
exception_index_table