org.apache.jdo.impl.enhancer.classfile
Class ExceptionRange

java.lang.Object
  extended by org.apache.jdo.impl.enhancer.classfile.ExceptionRange

public class ExceptionRange
extends java.lang.Object

ExceptionRange represents a range an exception handler within a method in class file.


Constructor Summary
ExceptionRange(InsnTarget startPC, InsnTarget endPC, InsnTarget handlerPC, ConstClass catchType)
          constructor
 
Method Summary
 ConstClass catchType()
          return the exception specification a null return value means a catch of any (try/finally)
 InsnTarget endPC()
          return the end of the exception hander (exclusive)
 InsnTarget handlerPC()
          return the exception handler code
 boolean isEqual(java.util.Stack msg, java.lang.Object obj)
          Compares this instance with another for structural equality.
 InsnTarget startPC()
          return the start of the exception hander (inclusive)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExceptionRange

public ExceptionRange(InsnTarget startPC,
                      InsnTarget endPC,
                      InsnTarget handlerPC,
                      ConstClass catchType)
constructor

Method Detail

startPC

public InsnTarget startPC()
return the start of the exception hander (inclusive)


endPC

public InsnTarget endPC()
return the end of the exception hander (exclusive)


handlerPC

public InsnTarget handlerPC()
return the exception handler code


catchType

public ConstClass catchType()
return the exception specification a null return value means a catch of any (try/finally)


isEqual

public boolean isEqual(java.util.Stack msg,
                       java.lang.Object obj)
Compares this instance with another for structural equality.



Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.