|
|||||||||
| Home >> All >> com >> chaoswg >> xtc4y >> [ classdesc overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.chaoswg.xtc4y.classdesc
Class ExceptionsAttribute

java.lang.Objectcom.chaoswg.xtc4y.classdesc.Attribute
com.chaoswg.xtc4y.classdesc.ExceptionsAttribute
- public class ExceptionsAttribute
- extends Attribute
This class describes the information for a exceptions attribute ($4.7.4)
| Field Summary | |
private java.util.Vector |
exceptions
|
static java.lang.String |
NAME
|
| Constructor Summary | |
|
ExceptionsAttribute()
construct a new deprecated attribute |
protected |
ExceptionsAttribute(java.io.DataInputStream dis,
ConstantPool cp,
int length)
Creates a ExceptionsAttribute and initializes it from a DataInputStream The attribute name and length of the attribute information was already read. |
| Method Summary | |
void |
addException(ClassCPEntry exc)
Add an exception |
ClassCPEntry[] |
getExceptions()
|
java.lang.String |
getName()
|
void |
removeException(ClassCPEntry exc)
Remove an exception |
protected void |
writeAttribute(java.io.DataOutputStream dos,
ConstantPool cp)
Write the attribute information onto the DataOutputStream, using the constant pool to register variables. |
| Methods inherited from class com.chaoswg.xtc4y.classdesc.Attribute |
toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
exceptions
private java.util.Vector exceptions
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
| Constructor Detail |
ExceptionsAttribute
protected ExceptionsAttribute(java.io.DataInputStream dis, ConstantPool cp, int length) throws java.io.IOException
- Creates a ExceptionsAttribute and initializes it from a
DataInputStream
The attribute name and length
of the attribute information was already read.
ExceptionsAttribute
public ExceptionsAttribute()
- construct a new deprecated attribute
| Method Detail |
writeAttribute
protected void writeAttribute(java.io.DataOutputStream dos, ConstantPool cp) throws java.io.IOException
- Write the attribute information onto the DataOutputStream, using the
constant pool to register variables. The Attribute name and the
length of the information will already be written. A specific
attribute implementation should overwrite this method.
- Specified by:
writeAttributein classAttribute
getName
public java.lang.String getName()
addException
public void addException(ClassCPEntry exc)
- Add an exception
getExceptions
public ClassCPEntry[] getExceptions()
removeException
public void removeException(ClassCPEntry exc)
- Remove an exception
|
|||||||||
| Home >> All >> com >> chaoswg >> xtc4y >> [ classdesc overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC