com.sun.tools.classfile
Class Exceptions_attribute
java.lang.Object
com.sun.tools.classfile.Attribute
com.sun.tools.classfile.Exceptions_attribute
public class Exceptions_attribute
- extends Attribute
See JVMS3, section 4.8.5.
This is NOT part of any API supported by Sun Microsystems. If
you write code that depends on this, you do so at your own risk.
This code and its internal interfaces are subject to change or
deletion without notice.
| Fields inherited from class com.sun.tools.classfile.Attribute |
AnnotationDefault, attribute_length, attribute_name_index, CharacterRangeTable, Code, CompilationID, ConstantValue, Deprecated, EnclosingMethod, Exceptions, InnerClasses, LineNumberTable, LocalVariableTable, LocalVariableTypeTable, Module, ModuleExportTable, ModuleMemberTable, RuntimeInvisibleAnnotations, RuntimeInvisibleParameterAnnotations, RuntimeVisibleAnnotations, RuntimeVisibleParameterAnnotations, Signature, SourceDebugExtension, SourceFile, SourceID, StackMap, StackMapTable, Synthetic |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
number_of_exceptions
public final int number_of_exceptions
exception_index_table
public final int[] exception_index_table
Exceptions_attribute
Exceptions_attribute(ClassReader cr,
int name_index,
int length)
throws java.io.IOException
- Throws:
java.io.IOException
Exceptions_attribute
public Exceptions_attribute(ConstantPool constant_pool,
int[] exception_index_table)
throws ConstantPoolException
- Throws:
ConstantPoolException
Exceptions_attribute
public Exceptions_attribute(int name_index,
int[] exception_index_table)
getException
public java.lang.String getException(int index,
ConstantPool constant_pool)
throws ConstantPoolException
- Throws:
ConstantPoolException
accept
public <R,D> R accept(Attribute.Visitor<R,D> visitor,
D data)
- Specified by:
accept in class Attribute