scale.jcr
Class ExceptionsAttribute

java.lang.Object
  extended by scale.jcr.AttributeInfo
      extended by scale.jcr.ExceptionsAttribute

public class ExceptionsAttribute
extends AttributeInfo

This class is used to both represent a Java class file exception attribute structure and to read that class file exception attribute structure.

$Id: ExceptionsAttribute.java,v 1.10 2007-10-04 19:58:15 burrill Exp $

Copyright 2007 by the Scale Compiler Group,
Department of Computer Science
University of Massachusetts,
Amherst MA. 01003, USA
All Rights Reserved.


Constructor Summary
ExceptionsAttribute(int nameIndex, int[] exceptionIndexTable)
           
 
Method Summary
 int getExceptionIndex(int i)
           
 int numExceptions()
           
static ExceptionsAttribute read(ClassFile cf, java.io.DataInputStream reader, int nameIndex)
           
 
Methods inherited from class scale.jcr.AttributeInfo
getNameIndex, read
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExceptionsAttribute

public ExceptionsAttribute(int nameIndex,
                           int[] exceptionIndexTable)
Method Detail

numExceptions

public int numExceptions()

getExceptionIndex

public int getExceptionIndex(int i)

read

public static ExceptionsAttribute read(ClassFile cf,
                                       java.io.DataInputStream reader,
                                       int nameIndex)
                                throws java.io.IOException
Throws:
java.io.IOException