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).-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetExceptions
(ClassFile classFile) private static ClassFile.AttributeInfo
loadBody
(short attributeNameIndex, DataInputStream dis) protected void
Writes 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
-
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.AttributeInfo
Writes the body of this attribute in an attribute-type dependent way; see JVMS7 4.7.2 and following.- Specified by:
storeBody
in classClassFile.AttributeInfo
- Throws:
IOException
-