| java.lang.Object org.ejb3unit.asm.tree.TryCatchBlockNode
TryCatchBlockNode | public class TryCatchBlockNode (Code) | | A node that represents a try catch block.
author: Eric Bruneton |
Field Summary | |
public LabelNode | end End of the exception handler's scope (exclusive). | public LabelNode | handler Beginning of the exception handler's code. | public LabelNode | start Beginning of the exception handler's scope (inclusive). | public String | type Internal name of the type of exceptions handled by the handler. |
Method Summary | |
public void | accept(MethodVisitor mv) Makes the given visitor visit this try catch block. |
end | public LabelNode end(Code) | | End of the exception handler's scope (exclusive).
|
handler | public LabelNode handler(Code) | | Beginning of the exception handler's code.
|
start | public LabelNode start(Code) | | Beginning of the exception handler's scope (inclusive).
|
type | public String type(Code) | | Internal name of the type of exceptions handled by the handler. May be
null to catch any exceptions (for "finally" blocks).
|
TryCatchBlockNode | public TryCatchBlockNode(LabelNode start, LabelNode end, LabelNode handler, String type)(Code) | | Constructs a new
TryCatchBlockNode .
Parameters: start - beginning of the exception handler's scope (inclusive). Parameters: end - end of the exception handler's scope (exclusive). Parameters: handler - beginning of the exception handler's code. Parameters: type - internal name of the type of exceptions handled by thehandler, or null to catch any exceptions (for "finally"blocks). |
accept | public void accept(MethodVisitor mv)(Code) | | Makes the given visitor visit this try catch block.
Parameters: mv - a method visitor. |
|
|