Methods Summary |
---|
public int | add(int exception_index)Appends a new exception class pointer to the collection. No duplicate checks
are made.
|
public java.lang.Object | clone()
|
public int | get(int offset)Returns the {@link com.vladium.jcd.cls.constant.CONSTANT_Class_info} constant
pool index for offset'th exception type thrown by the method that contains
this this exception index table in its ExceptionsAttribute_info attribute.
|
public long | length()Returns the total length of this table when converted to
.class format [including 2 count bytes]
|
public int | set(int offset, int exception_index)Replaces exception class pointer number 'offset' with new value 'interface_index'.
No duplicate checks are made. It is the responsibility of the caller to
ensure that the relevant CONSTANT_Class_info descriptor will be found
in the constant pool, in the slot pointed to by 'exception_index'.
|
public int | size()Returns the number of exception types the containing method professes
to throw.
|