public class TryCatch
extends java.lang.Object
| Constructor and Description |
|---|
TryCatch(Label start,
Label end,
Label handler,
Type type)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Label |
end()
Get the end label of the protected block.
|
Label |
handler()
Get the start label of the catch block.
|
void |
setHandler(Label handler)
Set the start label of the catch block.
|
Label |
start()
Get the start label of the protected block.
|
java.lang.String |
toString() |
Type |
type()
Get the type of the exception to catch.
|
public TryCatch(Label start, Label end, Label handler, Type type)
start - The start label of the protected block.end - The label of the instruction after the end of the protected
block.handler - The start label of the exception handler.type - The type of exception to catch.public Label start()
public Label end()
public Label handler()
public void setHandler(Label handler)
public Type type()
public java.lang.String toString()
toString in class java.lang.Object