| java.lang.Object EDU.purdue.cs.bloat.reflect.Catch
Constructor Summary | |
public | Catch(int startPC, int endPC, int handlerPC, int catchType) Constructor. |
Method Summary | |
public int | catchTypeIndex() Get the index into the constant pool of the type of exception to catch. | public Object | clone() | public int | endPC() Get the end PC of the protected block. | public int | handlerPC() Get the start PC of the exception handler. | public void | setCatchTypeIndex(int index) Set the index into the constant pool of the type of exception to catch. | public void | setEndPC(int pc) Set the end PC of the protected block. | public void | setHandlerPC(int pc) Set the start PC of the exception handler. | public void | setStartPC(int pc) Set the start PC of the protected block. | public int | startPC() Get the start PC of the protected block. | public String | toString() Returns a string representation of the catch information. |
Catch | public Catch(int startPC, int endPC, int handlerPC, int catchType)(Code) | | Constructor.
Parameters: startPC - The start PC of the protected block. Parameters: endPC - The PC of the instruction after the end of the protectedblock. Parameters: handlerPC - The start PC of the exception handler. Parameters: catchType - The type of exception to catch. |
catchTypeIndex | public int catchTypeIndex()(Code) | | Get the index into the constant pool of the type of exception to catch.
Index of the type of exception to catch. See Also: Catch.setCatchTypeIndex |
endPC | public int endPC()(Code) | | Get the end PC of the protected block.
The PC of the instruction after the end of the protected block. See Also: Catch.setEndPC |
handlerPC | public int handlerPC()(Code) | | Get the start PC of the exception handler.
The start PC of the exception handler. See Also: Catch.setHandlerPC |
setCatchTypeIndex | public void setCatchTypeIndex(int index)(Code) | | Set the index into the constant pool of the type of exception to catch.
Parameters: index - Index of the type of exception to catch. See Also: Catch.catchTypeIndex |
setEndPC | public void setEndPC(int pc)(Code) | | Set the end PC of the protected block.
Parameters: pc - The PC of the instruction after the end of the protectedblock. See Also: Catch.endPC |
setHandlerPC | public void setHandlerPC(int pc)(Code) | | Set the start PC of the exception handler.
Parameters: pc - The start PC of the exception handler. See Also: Catch.handlerPC |
setStartPC | public void setStartPC(int pc)(Code) | | Set the start PC of the protected block.
Parameters: pc - The start PC of the protected block. See Also: Catch.startPC |
startPC | public int startPC()(Code) | | Get the start PC of the protected block.
The start PC of the protected block. See Also: Catch.setStartPC |
toString | public String toString()(Code) | | Returns a string representation of the catch information.
|
|
|