|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jdo.impl.enhancer.classfile.ClassAttribute
org.apache.jdo.impl.enhancer.classfile.ExceptionsAttribute
ExceptionsAttribute represents a method attribute in a class file listing the checked exceptions for the method.
Field Summary | |
private java.util.Vector |
exceptionTable
|
static java.lang.String |
expectedAttrName
|
Fields inherited from class org.apache.jdo.impl.enhancer.classfile.ClassAttribute |
|
Constructor Summary | |
ExceptionsAttribute(ConstUtf8 attrName,
ConstClass exc)
Convenience Constructor - for single exception |
|
ExceptionsAttribute(ConstUtf8 attrName,
java.util.Vector excTable)
Constructor |
Method Summary | |
java.util.Enumeration |
exceptions()
Return an enumeration of the checked exceptions |
java.util.Vector |
getExceptions()
Returns the vector of the checked exceptions. |
boolean |
isEqual(java.util.Stack msg,
java.lang.Object obj)
Compares this instance with another for structural equality. |
(package private) void |
print(java.io.PrintStream out,
int indent)
Print a description of the attribute to the print stream |
(package private) static ExceptionsAttribute |
read(ConstUtf8 attrName,
java.io.DataInputStream data,
ConstantPool pool)
|
(package private) void |
write(java.io.DataOutputStream out)
Write the attribute to the output stream |
Methods inherited from class org.apache.jdo.impl.enhancer.classfile.ClassAttribute |
attrName, read, read |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String expectedAttrName
private java.util.Vector exceptionTable
Constructor Detail |
public ExceptionsAttribute(ConstUtf8 attrName, java.util.Vector excTable)
public ExceptionsAttribute(ConstUtf8 attrName, ConstClass exc)
Method Detail |
public java.util.Enumeration exceptions()
public java.util.Vector getExceptions()
public boolean isEqual(java.util.Stack msg, java.lang.Object obj)
isEqual
in class ClassAttribute
static ExceptionsAttribute read(ConstUtf8 attrName, java.io.DataInputStream data, ConstantPool pool) throws java.io.IOException
java.io.IOException
void write(java.io.DataOutputStream out) throws java.io.IOException
ClassAttribute
write
in class ClassAttribute
java.io.IOException
void print(java.io.PrintStream out, int indent)
ClassAttribute
print
in class ClassAttribute
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |