站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc (Current Development Version)

ExceptionTableEntry (Classfile Reader) - NetBeans API Javadoc (Current Development Version)

org.netbeans.modules.classfile/1 1.19

org.netbeans.modules.classfile
Class ExceptionTableEntry

java.lang.Object
  extended by org.netbeans.modules.classfile.ExceptionTableEntry

public final class ExceptionTableEntry
extends Object

An entry in the exception table of a method's code attribute.


Method Summary
 CPClassInfo getCatchType()
          Returns the type of exception handler, or null if this handler catches all exceptions, such as an exception handler for a "finally" clause (JVM 4.7.3).
 int getEndPC()
          Returns the ending offset into the method's bytecodes of this exception handler, or the length of the bytecode array if the handler supports the method's last bytecodes (JVM 4.7.3).
 int getHandlerPC()
          Returns the starting offset into the method's bytecodes of the exception handling code.
 int getStartPC()
          Returns the beginning offset into the method's bytecodes of this exception handler.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getStartPC

public final int getStartPC()
Returns the beginning offset into the method's bytecodes of this exception handler.


getEndPC

public final int getEndPC()
Returns the ending offset into the method's bytecodes of this exception handler, or the length of the bytecode array if the handler supports the method's last bytecodes (JVM 4.7.3).


getHandlerPC

public final int getHandlerPC()
Returns the starting offset into the method's bytecodes of the exception handling code.


getCatchType

public final CPClassInfo getCatchType()
Returns the type of exception handler, or null if this handler catches all exceptions, such as an exception handler for a "finally" clause (JVM 4.7.3).


org.netbeans.modules.classfile/1 1.19

Built on May 28 2007.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.