at.dms.classfile
Class ExceptionsAttribute

java.lang.Object
  extended by at.dms.classfile.Attribute
      extended by at.dms.classfile.ExceptionsAttribute

public class ExceptionsAttribute
extends Attribute

VMS 4.7.4: Exceptions Attribute. This attribute indicates which checked exceptions a method may throw.


Field Summary
 
Fields inherited from class at.dms.classfile.Attribute
EMPTY
 
Constructor Summary
ExceptionsAttribute(DataInput in, ConstantPool cp)
          Constructs a exceptions attribute from a class file stream.
ExceptionsAttribute(String[] names)
          Create an exceptions attribute.
 
Method Summary
 
Methods inherited from class at.dms.classfile.Attribute
read, readCodeInfoAttribute, readInterfaceOnly
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExceptionsAttribute

public ExceptionsAttribute(String[] names)
Create an exceptions attribute.


ExceptionsAttribute

public ExceptionsAttribute(DataInput in,
                           ConstantPool cp)
                    throws IOException
Constructs a exceptions attribute from a class file stream.

Parameters:
in - the stream to read from
cp - the constant pool
Throws:
IOException - an io problem has occured