Package org.codehaus.janino.util
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).-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetExceptions(ClassFile classFile) protected voidWrites the body of this attribute in an attribute-type dependent way; see JVMS7 4.7.2 and following.Methods inherited from class org.codehaus.janino.util.ClassFile.AttributeInfo
store
-
Constructor Details
-
ExceptionsAttribute
public ExceptionsAttribute(short attributeNameIndex, short[] exceptionIndexes)
-
-
Method Details
-
getExceptions
- Returns:
- The exception types contained in this
ClassFile.ExceptionsAttribute
-
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
-