org.netbeans.modules.classfile/1 1.35

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.35

Built on May 22 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.