FileDocCategorySizeDatePackage
TryCatchBlockNode.javaAPI DocGlassfish v2 API3264Thu Mar 02 11:51:16 GMT 2006oracle.toplink.libraries.asm.tree

TryCatchBlockNode

public class TryCatchBlockNode extends Object
A node that represents a try catch block.
author
Eric Bruneton

Fields Summary
public Label
start
Beginning of the exception handler's scope (inclusive).
public Label
end
End of the exception handler's scope (exclusive).
public Label
handler
Beginning of the exception handler's code.
public String
type
Internal name of the type of exceptions handled by the handler. May be null to catch any exceptions (for "finally" blocks).
Constructors Summary
public TryCatchBlockNode(Label start, Label end, Label handler, String type)
Constructs a new {@link TryCatchBlockNode TryCatchBlockNode} object.

param
start beginning of the exception handler's scope (inclusive).
param
end end of the exception handler's scope (exclusive).
param
handler beginning of the exception handler's code.
param
type internal name of the type of exceptions handled by the handler, or null to catch any exceptions (for "finally" blocks).

    this.start = start;
    this.end = end;
    this.handler = handler;
    this.type = type;
  
Methods Summary
public voidaccept(oracle.toplink.libraries.asm.CodeVisitor cv)
Makes the given code visitor visit this try catch block.

param
cv a code visitor.

    cv.visitTryCatchBlock(start, end, handler, type);