Class TryCatchBlockNode
java.lang.Object
org.objectweb.asm.tree.TryCatchBlockNode
A node that represents a try catch block.
- Author:
- Eric Bruneton
-
Field Summary
FieldsModifier and TypeFieldDescriptionEnd of the exception handler's scope (exclusive).Beginning of the exception handler's code.Beginning of the exception handler's scope (inclusive).Internal name of the type of exceptions handled by the handler. -
Constructor Summary
ConstructorsConstructorDescriptionTryCatchBlockNode(LabelNode start, LabelNode end, LabelNode handler, String type) Constructs a newTryCatchBlockNode. -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(MethodVisitor mv) Makes the given visitor visit this try catch block.
-
Field Details
-
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. May be null to catch any exceptions (for "finally" blocks).
-
-
Constructor Details
-
TryCatchBlockNode
Constructs a newTryCatchBlockNode.- Parameters:
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).
-
-
Method Details
-
accept
Makes the given visitor visit this try catch block.- Parameters:
mv- a method visitor.
-