Package jminusminus
Class CLExceptionsAttribute
java.lang.Object
jminusminus.CLAttributeInfo
jminusminus.CLExceptionsAttribute
Representation of Exceptions_attribute structure.
-
Field Summary
FieldsModifier and TypeFieldDescriptionExceptions_attribute.exception_index_table item.intExceptions_attribute.number_of_exceptions item.Fields inherited from class jminusminus.CLAttributeInfo
attributeLength, attributeNameIndex -
Constructor Summary
ConstructorsConstructorDescriptionCLExceptionsAttribute(int attributeNameIndex, long attributeLength, int numberOfExceptions, ArrayList<Integer> exceptionIndexTable) Construct a CLExceptionsAttribute object. -
Method Summary
Modifier and TypeMethodDescriptionvoidwrite(CLOutputStream out) Write the contents of this attribute to the specified output stream.
-
Field Details
-
numberOfExceptions
public int numberOfExceptionsExceptions_attribute.number_of_exceptions item. -
exceptionIndexTable
Exceptions_attribute.exception_index_table item.
-
-
Constructor Details
-
CLExceptionsAttribute
public CLExceptionsAttribute(int attributeNameIndex, long attributeLength, int numberOfExceptions, ArrayList<Integer> exceptionIndexTable) Construct a CLExceptionsAttribute object.- Parameters:
attributeNameIndex- Exceptions_attribute.attribute_name_index item.attributeLength- Exceptions_attribute.attribute_length item.numberOfExceptions- Exceptions_attribute.number_of_exceptions item.exceptionIndexTable- Exceptions_attribute.exception_index_table item.
-
-
Method Details
-
write
Write the contents of this attribute to the specified output stream.- Overrides:
writein classCLAttributeInfo- Parameters:
out- output stream.- Throws:
IOException- if an error occurs while writing.
-