Class ClassFile.ExceptionsAttribute
java.lang.Object
org.codehaus.janino.util.ClassFile.AttributeInfo
org.codehaus.janino.util.ClassFile.ExceptionsAttribute
- Enclosing class:
ClassFile
Representation of an
Exceptions attribute (see JVMS 4.7.4).-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetExceptions(ClassFile classFile) private static ClassFile.AttributeInfoloadBody(short attributeNameIndex, DataInputStream dis) protected voidWrites the body of this attribute in an attribute-type dependent way; see JVMS7 4.7.2 and following.Methods inherited from class ClassFile.AttributeInfo
store
-
Field Details
-
exceptionIndexes
private final short[] exceptionIndexes
-
-
Constructor Details
-
ExceptionsAttribute
public ExceptionsAttribute(short attributeNameIndex, short[] exceptionIndexes)
-
-
Method Details
-
getExceptions
- Returns:
- The exception types contained in this
ClassFile.ExceptionsAttribute
-
loadBody
private static ClassFile.AttributeInfo loadBody(short attributeNameIndex, DataInputStream dis) throws IOException - Throws:
IOException
-
storeBody
Description copied from class:ClassFile.AttributeInfoWrites the body of this attribute in an attribute-type dependent way; see JVMS7 4.7.2 and following.- Specified by:
storeBodyin classClassFile.AttributeInfo- Throws:
IOException
-