|
mjc | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.multijava.util.classfile.Attribute
org.multijava.util.classfile.ExceptionsAttribute
VMS 4.7.5: Exceptions Attribute This attribute indicates which checked exceptions a method may throw.
| Field Summary | |
private static AsciiConstant |
attr
|
private ClassConstant[] |
exceptions
|
| Constructor Summary | |
ExceptionsAttribute(java.io.DataInput in,
ConstantPool cp)
Constructs a exceptions attribute from a class file stream. |
|
ExceptionsAttribute(java.lang.String[] names)
Create an exceptions attribute. |
|
| Method Summary | |
protected java.lang.String[] |
getExceptions()
Returns the exceptions |
protected int |
getSize()
Returns the space in bytes used by this attribute in the classfile |
protected int |
getTag()
Returns the attribute's tag |
protected void |
resolveConstants(ConstantPool cp)
Insert or check location of constant value on constant pool |
protected void |
write(ConstantPool cp,
java.io.DataOutput out)
Write this class into the the file (out) getting data position from the constant pool |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private static AsciiConstant attr
private ClassConstant[] exceptions
| Constructor Detail |
public ExceptionsAttribute(java.lang.String[] names)
public ExceptionsAttribute(java.io.DataInput in,
ConstantPool cp)
throws java.io.IOException
in - the stream to read fromcp - the constant pool
java.io.IOException - an io problem has occured| Method Detail |
protected int getTag()
protected int getSize()
protected java.lang.String[] getExceptions()
protected void resolveConstants(ConstantPool cp)
cp - the constant pool for this class
protected void write(ConstantPool cp,
java.io.DataOutput out)
throws java.io.IOException
cp - the constant pool that contain all dataout - the file where to write this object info
java.io.IOException - an io problem has occured
|
mjc | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||