public class TryCatchBlockNode
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
Label |
end
End of the exception handler's scope (exclusive).
|
Label |
handler
Beginning of the exception handler's code.
|
Label |
start
Beginning of the exception handler's scope (inclusive).
|
java.lang.String |
type
Internal name of the type of exceptions handled by the handler.
|
Constructor and Description |
---|
TryCatchBlockNode(Label start,
Label end,
Label handler,
java.lang.String type)
Constructs a new
TryCatchBlockNode object. |
Modifier and Type | Method and Description |
---|---|
void |
accept(CodeVisitor cv)
Makes the given code visitor visit this try catch block.
|
public Label start
public Label end
public Label handler
public java.lang.String type
public TryCatchBlockNode(Label start, Label end, Label handler, java.lang.String type)
TryCatchBlockNode
object.start
- beginning of the exception handler's scope (inclusive).end
- end of the exception handler's scope (exclusive).handler
- beginning of the exception handler's code.type
- internal name of the type of exceptions handled by the handler,
or null to catch any exceptions (for "finally" blocks).public void accept(CodeVisitor cv)
cv
- a code visitor.