Package jminusminus
Class CLExceptionsAttribute
java.lang.Object
jminusminus.CLAttributeInfo
jminusminus.CLExceptionsAttribute
Representation of Exceptions_attribute structure.
-
Field Summary
Modifier and TypeFieldDescriptionExceptions_attribute.exception_index_table item.int
Exceptions_attribute.number_of_exceptions item.Fields inherited from class jminusminus.CLAttributeInfo
attributeLength, attributeNameIndex
-
Constructor Summary
ConstructorDescriptionCLExceptionsAttribute
(int attributeNameIndex, long attributeLength, int numberOfExceptions, ArrayList<Integer> exceptionIndexTable) Construct a CLExceptionsAttribute object. -
Method Summary
Modifier and TypeMethodDescriptionvoid
write
(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:
write
in classCLAttributeInfo
- Parameters:
out
- output stream.- Throws:
IOException
- if an error occurs while writing.
-