Oracle Fusion Middleware Java API Reference for Oracle TopLink
11g Release 1 (11.1.1)

B32476-03

oracle.toplink.libraries.asm.tree
Class TryCatchBlockNode

java.lang.Object
  extended by oracle.toplink.libraries.asm.tree.TryCatchBlockNode

public class TryCatchBlockNode
extends java.lang.Object

A node that represents a try catch block.


Field Summary
 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 Summary
TryCatchBlockNode(Label start, Label end, Label handler, java.lang.String type)
          Constructs a new TryCatchBlockNode object.
 
Method Summary
 void accept(CodeVisitor cv)
          Makes the given code visitor visit this try catch block.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

start

public Label start
Description copied from class: TryCatchBlockNode
Beginning of the exception handler's scope (inclusive).


end

public Label end
Description copied from class: TryCatchBlockNode
End of the exception handler's scope (exclusive).


handler

public Label handler
Description copied from class: TryCatchBlockNode
Beginning of the exception handler's code.


type

public java.lang.String type
Description copied from class: TryCatchBlockNode
Internal name of the type of exceptions handled by the handler. May be null to catch any exceptions (for "finally" blocks).

Constructor Detail

TryCatchBlockNode

public TryCatchBlockNode(Label start,
                         Label end,
                         Label handler,
                         java.lang.String type)
Constructs a new TryCatchBlockNode object.

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 Detail

accept

public void accept(CodeVisitor cv)
Makes the given code visitor visit this try catch block.

Parameters:
cv - a code visitor.

Copyright © 1998, 2010, Oracle. All Rights Reserved.