gnu.bytecode
public class ExceptionsAttr extends Attribute
Constructor Summary | |
---|---|
ExceptionsAttr(Method meth) Add a new ExceptionsAttr to a Method. |
Method Summary | |
---|---|
void | assignConstants(ClassType cl) |
ClassType[] | getExceptions() The types of the exceptions in this attr. |
int | getLength() The size of this Attribute (in bytes) is 2 (for
number_of_exception) plus 2 * number_of_exceptions. |
void | print(ClassTypeWriter dst) |
void | setExceptions(short[] indices, ClassType cl) Set the Exceptions attribute to refer to classes whose indices
in the constant pool of `cl' are given by `indices'. |
void | setExceptions(ClassType[] excep_types) Set the Exceptions attribute to refer to the given exception types. |
void | write(DataOutputStream dstr) |
Parameters: excep_types the types of the exceptions.