Interface IExceptionAttribute
- All Superinterfaces:
IClassFileAttribute
- All Known Implementing Classes:
ExceptionAttribute
Description of a constant value attribute as described in the JVM
specifications.
This interface may be implemented by clients.
- Since:
- 2.0
-
Method Summary
Modifier and TypeMethodDescriptionint[]Answer back the exception indexes of the exception attribute.char[][]Answer back the exception names of the exception attribute.intAnswer back the number of exceptions of the exception attribute.Methods inherited from interface IClassFileAttribute
getAttributeLength, getAttributeName, getAttributeNameIndexModifier and TypeMethodDescriptionlongAnswer back the attribute length as specified in the JVM specifications.char[]Answer back the attribute name as specified in the JVM specifications.intAnswer back the attribute name index in the constant pool as specified in the JVM specifications.
-
Method Details
-
getExceptionsNumber
int getExceptionsNumber()Answer back the number of exceptions of the exception attribute.- Returns:
- the number of exceptions of the exception attribute
-
getExceptionNames
char[][] getExceptionNames()Answer back the exception names of the exception attribute. Answers an empty collection if none.- Returns:
- the exception names of the exception attribute. Answers an empty collection if none
-
getExceptionIndexes
int[] getExceptionIndexes()Answer back the exception indexes of the exception attribute. Answers an empty collection if none.- Returns:
- the exception indexes of the exception attribute. Answers an empty collection if none
-