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.int
Answer back the catch type index in the constant pool.int
getEndPC()
Answer back the end pc of this entry.int
Answer back the handler pc of this entry.int
Answer back the start pc of this entry.
-
Method Details
-
getStartPC
public int getStartPC()Description copied from interface:IExceptionTableEntry
Answer back the start pc of this entry.- Specified by:
getStartPC
in interfaceIExceptionTableEntry
- 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 interfaceIExceptionTableEntry
- 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 interfaceIExceptionTableEntry
- 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 interfaceIExceptionTableEntry
- 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 interfaceIExceptionTableEntry
- Returns:
- the catch type name, null if getCatchTypeIndex() returns 0. This is the case for any exception handler
- See Also:
IExceptionTableEntry.getCatchType()
-