|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IExceptionHandlerTable
This table is a structure nested within the CodeAttribute_info.
It is a table of Exception_info entries, each entry representing an
exception handler range. The order of these entries is the order in which
a JVM will check for a matching exception handler when the parent method
throws an exception.
| Method Summary | |
|---|---|
int |
add(Exception_info exception)
Adds a new Exception_info descriptor to this collection. |
java.lang.Object |
clone()
|
Exception_info |
get(int offset)
Returns Exception_info descriptor at a given offset. |
long |
length()
Returns the total length of this table when converted to .class format [including 2 count bytes] |
Exception_info |
set(int offset,
Exception_info exception)
Replaces the Exception_info descriptor at a given offset. |
int |
size()
Returns the number of descriptors in this collection [can be 0]. |
| Methods inherited from interface com.vladium.jcd.compiler.IClassFormatOutput |
|---|
writeInClassFormat |
| Method Detail |
|---|
Exception_info get(int offset)
Exception_info descriptor at a given offset.
offset - exception offset [must be in [0, size()) range; input not checked]
java.lang.IndexOutOfBoundsException - if 'offset' is outside of valid rangeint size()
long length()
java.lang.Object clone()
int add(Exception_info exception)
exception - new exception descriptor [may not be null]
Exception_info set(int offset,
Exception_info exception)
offset - exception offset [must be in [0, size()) range; input not checked]exception - new exception descriptor [may not be null]
java.lang.IndexOutOfBoundsException - if 'offset' is outside of valid range
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||