org.objectweb.asm.tree
类 TryCatchBlockNode

java.lang.Object
  继承者 org.objectweb.asm.tree.TryCatchBlockNode

public class TryCatchBlockNode
extends Object

A node that represents a try catch block.

作者:
Eric Bruneton

字段摘要
 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.
 
构造方法摘要
TryCatchBlockNode(LabelNode start, LabelNode end, LabelNode handler, String type)
          Constructs a new TryCatchBlockNode.
 
方法摘要
 void accept(MethodVisitor mv)
          Makes the given visitor visit this try catch block.
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

start

public LabelNode start
Beginning of the exception handler's scope (inclusive).


end

public LabelNode end
End of the exception handler's scope (exclusive).


handler

public LabelNode handler
Beginning of the exception handler's code.


type

public String type
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)
Constructs a new 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).
方法详细信息

accept

public void accept(MethodVisitor mv)
Makes the given visitor visit this try catch block.

参数:
mv - a method visitor.


Copyright © 2013. All Rights Reserved.