|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fife.rsta.ac.java.classreader.ExceptionTableEntry
public class ExceptionTableEntry
An entry in the exception table of a Code attribute. This denotes
either a catch or finally block (the section of code it
covers, the type of Throwable it handles, and the location of the
exception handler code).
| Constructor Summary | |
|---|---|
ExceptionTableEntry(ClassFile cf)
Constructor. |
|
| Method Summary | |
|---|---|
String |
getCaughtThrowableType(boolean fullyQualified)
Returns the name of the Throwable type caught and handled by this exception handler. |
static ExceptionTableEntry |
read(ClassFile cf,
DataInputStream in)
Reads an exception table entry from an input stream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExceptionTableEntry(ClassFile cf)
cf - The parent class file.| Method Detail |
|---|
public String getCaughtThrowableType(boolean fullyQualified)
fullyQualified - Whether the name should be fully qualified.
null
if this entry denotes a finally block.
public static ExceptionTableEntry read(ClassFile cf,
DataInputStream in)
throws IOException
cf - The class file.in - The input stream to read from.
IOException - If an IO error occurs.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||