Class ExceptionTableEntry
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileStruct
org.aspectj.org.eclipse.jdt.internal.core.util.ExceptionTableEntry
- All Implemented Interfaces:
IExceptionTableEntry
This class describes an entry in the exception table attribute according
to the JVM specifications.
-
Method Summary
Modifier and TypeMethodDescriptionchar[]Answer back the catch type name, null if getCatchTypeIndex() returns 0.intAnswer back the catch type index in the constant pool.intgetEndPC()Answer back the end pc of this entry.intAnswer back the handler pc of this entry.intAnswer back the start pc of this entry.Methods inherited from class ClassFileStruct
doubleAt, floatAt, i1At, i2At, i4At, i8At, u1At, u2At, u4At, utf8AtModifier and TypeMethodDescriptionprotected doubledoubleAt(byte[] reference, int relativeOffset, int structOffset) protected floatfloatAt(byte[] reference, int relativeOffset, int structOffset) protected inti1At(byte[] reference, int relativeOffset, int structOffset) protected inti2At(byte[] reference, int relativeOffset, int structOffset) protected inti4At(byte[] reference, int relativeOffset, int structOffset) protected longi8At(byte[] reference, int relativeOffset, int structOffset) protected intu1At(byte[] reference, int relativeOffset, int structOffset) protected intu2At(byte[] reference, int relativeOffset, int structOffset) protected intu4At(byte[] reference, int relativeOffset, int structOffset) Returns an 32 bit integer created of 4 bytes.protected char[]utf8At(byte[] reference, int relativeOffset, int structOffset, int bytesAvailable)
-
Method Details
-
getStartPC
public int getStartPC()Description copied from interface:IExceptionTableEntryAnswer back the start pc of this entry.- Specified by:
getStartPCin interfaceIExceptionTableEntry- Returns:
- the start pc of this entry
- See Also:
-
getEndPC
public int getEndPC()Description copied from interface:IExceptionTableEntryAnswer back the end pc of this entry.- Specified by:
getEndPCin interfaceIExceptionTableEntry- Returns:
- the end pc of this entry
- See Also:
-
getHandlerPC
public int getHandlerPC()Description copied from interface:IExceptionTableEntryAnswer back the handler pc of this entry.- Specified by:
getHandlerPCin interfaceIExceptionTableEntry- Returns:
- the handler pc of this entry
- See Also:
-
getCatchTypeIndex
public int getCatchTypeIndex()Description copied from interface:IExceptionTableEntryAnswer back the catch type index in the constant pool.- Specified by:
getCatchTypeIndexin interfaceIExceptionTableEntry- Returns:
- the catch type index in the constant pool
- See Also:
-
getCatchType
public char[] getCatchType()Description copied from interface:IExceptionTableEntryAnswer back the catch type name, null if getCatchTypeIndex() returns 0. This is the case for any exception handler.- Specified by:
getCatchTypein interfaceIExceptionTableEntry- Returns:
- the catch type name, null if getCatchTypeIndex() returns 0. This is the case for any exception handler
- See Also:
-