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