Package com.ibm.wala.shrikeCT
Class ExceptionsReader
- java.lang.Object
-
- com.ibm.wala.shrikeCT.AttributeReader
-
- com.ibm.wala.shrikeCT.ExceptionsReader
-
public final class ExceptionsReader extends AttributeReader
This class reads Exceptions attributes.
-
-
Field Summary
-
Fields inherited from class com.ibm.wala.shrikeCT.AttributeReader
attr, cr, length
-
-
Constructor Summary
Constructors Constructor Description ExceptionsReader(ClassReader.AttrIterator iter)
Build a reader for the attribute 'iter'.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]
getClasses()
int[]
getRawTable()
-
Methods inherited from class com.ibm.wala.shrikeCT.AttributeReader
checkSize, checkSizeEquals, getClassReader, getRawOffset, getRawSize
-
-
-
-
Constructor Detail
-
ExceptionsReader
public ExceptionsReader(ClassReader.AttrIterator iter) throws InvalidClassFileException
Build a reader for the attribute 'iter'.- Throws:
InvalidClassFileException
-
-
Method Detail
-
getRawTable
public int[] getRawTable()
- Returns:
- the indices of the constant pool items for the exceptions
-
getClasses
public String[] getClasses() throws InvalidClassFileException
- Returns:
- the classes of exceptions that can be thrown by the method
- Throws:
InvalidClassFileException
-
-