public class TryCatchBlockNode extends Object
Modifier and Type | Field and Description |
---|---|
LabelNode |
end
End of the exception handler's scope (exclusive).
|
LabelNode |
handler
Beginning of the exception handler's code.
|
LabelNode |
start
Beginning of the exception handler's scope (inclusive).
|
String |
type
Internal name of the type of exceptions handled by the handler.
|
Constructor and Description |
---|
TryCatchBlockNode(LabelNode start,
LabelNode end,
LabelNode handler,
String type)
Constructs a new
TryCatchBlockNode . |
Modifier and Type | Method and Description |
---|---|
void |
accept(MethodVisitor mv)
Makes the given visitor visit this try catch block.
|
public LabelNode start
public LabelNode end
public LabelNode handler
public String type
public TryCatchBlockNode(LabelNode start, LabelNode end, LabelNode handler, String type)
TryCatchBlockNode
.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(MethodVisitor mv)
mv
- a method visitor.Copyright © 2018. All rights reserved.