class CLExceptionInfo extends Object
Modifier and Type | Field and Description |
---|---|
int |
catchType
exception_table_entry.catch_type item.
|
int |
endPC
exception_table_entry.end_pc item.
|
int |
handlerPC
exception_table_entry.handler_pc item.
|
int |
startPC
exception_table_entry.start_pc item.
|
Constructor and Description |
---|
CLExceptionInfo(int startPC,
int endPC,
int handlerPC,
int catchType)
Construct a CLExceptionInfo object.
|
Modifier and Type | Method and Description |
---|---|
void |
write(CLOutputStream out)
Write the contents of this object to the specified output stream.
|
void |
writeToStdOut(PrettyPrinter p)
Write the contents of this object to STDOUT in a format similar to that
of javap.
|
public int startPC
public int endPC
public int handlerPC
public int catchType
public CLExceptionInfo(int startPC, int endPC, int handlerPC, int catchType)
startPC
- exception_table_entry.start_pc item.endPC
- exception_table_entry.end_pc item.handlerPC
- exception_table_entry.handler_pc item.catchType
- exception_table_entry.catch_type item.public void write(CLOutputStream out) throws IOException
out
- output stream.IOException
- if an error occurs while writing.public void writeToStdOut(PrettyPrinter p)
p
- for pretty printing with indentation.