| java.lang.Object javassist.bytecode.AttributeInfo javassist.bytecode.ExceptionsAttribute
ExceptionsAttribute | public class ExceptionsAttribute extends AttributeInfo (Code) | | Exceptions_attribute .
|
Field Summary | |
final public static String | tag The name of this attribute "Exceptions" . |
tag | final public static String tag(Code) | | The name of this attribute "Exceptions" .
|
ExceptionsAttribute | public ExceptionsAttribute(ConstPool cp)(Code) | | Constructs a new exceptions attribute.
Parameters: cp - constant pool table. |
copy | public AttributeInfo copy(ConstPool newCp, Map classnames)(Code) | | Makes a copy. Class names are replaced according to the
given Map object.
Parameters: newCp - the constant pool table used by the new copy. Parameters: classnames - pairs of replaced and substitutedclass names. It can be null . |
getException | public int getException(int nth)(Code) | | Returns the value of exception_index_table[nth] .
|
getExceptionIndexes | public int[] getExceptionIndexes()(Code) | | Returns exception_index_table[] .
|
getExceptions | public String[] getExceptions()(Code) | | Returns the names of exceptions that the method may throw.
|
setExceptionIndexes | public void setExceptionIndexes(int[] elist)(Code) | | Sets exception_index_table[] .
|
setExceptions | public void setExceptions(String[] elist)(Code) | | Sets the names of exceptions that the method may throw.
|
tableLength | public int tableLength()(Code) | | Returns number_of_exceptions .
|
|
|