|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--koala.dynamicjava.classfile.BytecodeComponent
|
+--koala.dynamicjava.classfile.AttributeInfo
|
+--koala.dynamicjava.classfile.ExceptionsAttribute
This class represents a method exceptions attribute
| Fields inherited from class koala.dynamicjava.classfile.AttributeInfo |
length |
| Fields inherited from class koala.dynamicjava.classfile.BytecodeComponent |
constantPool, nameIndex |
| Constructor Summary | |
ExceptionsAttribute(ConstantPool cp)
Creates a new empty (not valid) code attribute |
|
| Method Summary | |
void |
addException(java.lang.String name)
Adds an exception to the attribute |
void |
write(java.io.DataOutputStream out)
Writes the exception info to the given output stream. |
| Methods inherited from class koala.dynamicjava.classfile.BytecodeComponent |
getConstantPool, write |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ExceptionsAttribute(ConstantPool cp)
cp - the constant pool| Method Detail |
public void write(java.io.DataOutputStream out)
throws java.io.IOException
write in class BytecodeComponentpublic void addException(java.lang.String name)
name - the name of the exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||