org.aspectj.org.eclipse.jdt.internal.core.util
Class ExceptionTableEntry

java.lang.Object
  extended by org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileStruct
      extended by org.aspectj.org.eclipse.jdt.internal.core.util.ExceptionTableEntry
All Implemented Interfaces:
IExceptionTableEntry

public class ExceptionTableEntry
extends ClassFileStruct
implements IExceptionTableEntry

This class describes an entry in the exception table attribute according to the JVM specifications.


Method Summary
 char[] getCatchType()
          Answer back the catch type name, null if getCatchTypeIndex() returns 0.
 int getCatchTypeIndex()
          Answer back the catch type index in the constant pool.
 int getEndPC()
          Answer back the end pc of this entry.
 int getHandlerPC()
          Answer back the handler pc of this entry.
 int getStartPC()
          Answer back the start pc of this entry.
 
Methods inherited from class org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileStruct
doubleAt, floatAt, i1At, i2At, i4At, i8At, u1At, u2At, u4At, utf8At
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getStartPC

public int getStartPC()
Description copied from interface: IExceptionTableEntry
Answer back the start pc of this entry.

Specified by:
getStartPC in interface IExceptionTableEntry
Returns:
the start pc of this entry
See Also:
IExceptionTableEntry.getStartPC()

getEndPC

public int getEndPC()
Description copied from interface: IExceptionTableEntry
Answer back the end pc of this entry.

Specified by:
getEndPC in interface IExceptionTableEntry
Returns:
the end pc of this entry
See Also:
IExceptionTableEntry.getEndPC()

getHandlerPC

public int getHandlerPC()
Description copied from interface: IExceptionTableEntry
Answer back the handler pc of this entry.

Specified by:
getHandlerPC in interface IExceptionTableEntry
Returns:
the handler pc of this entry
See Also:
IExceptionTableEntry.getHandlerPC()

getCatchTypeIndex

public int getCatchTypeIndex()
Description copied from interface: IExceptionTableEntry
Answer back the catch type index in the constant pool.

Specified by:
getCatchTypeIndex in interface IExceptionTableEntry
Returns:
the catch type index in the constant pool
See Also:
IExceptionTableEntry.getCatchTypeIndex()

getCatchType

public char[] getCatchType()
Description copied from interface: IExceptionTableEntry
Answer back the catch type name, null if getCatchTypeIndex() returns 0. This is the case for any exception handler.

Specified by:
getCatchType in interface IExceptionTableEntry
Returns:
the catch type name, null if getCatchTypeIndex() returns 0. This is the case for any exception handler
See Also:
IExceptionTableEntry.getCatchType()