Top Description Fields Constructors Methods
org.jboss.classfilewriter.attributes

public Class ExceptionsAttribute

extends Attribute
Class Inheritance
Imports
org.jboss.classfilewriter.constpool.ConstPool, org.jboss.classfilewriter.util.ByteArrayDataOutputStream, java.io.IOException, java.util.ArrayList, .List

The exceptions attribute, stores the checked exceptions a method is declared to throw
Author
Stuart Douglas

Field Summary

Modifier and TypeField and Description
private final ConstPool
private final List<String>
private final List<Integer>
public static final String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
public void
Inherited from org.jboss.classfilewriter.attributes.Attribute:
getNamewrite

Field Detail

constPoolback to summary
private final ConstPool constPool

Hides org.jboss.classfilewriter.attributes.Attribute.constPool.

exceptionClassesback to summary
private final List<String> exceptionClasses
exceptionClassIndexesback to summary
private final List<Integer> exceptionClassIndexes
NAMEback to summary
public static final String NAME

Constructor Detail

ExceptionsAttributeback to summary
public ExceptionsAttribute(ConstPool constPool)

Method Detail

addExceptionClassback to summary
public void addExceptionClass(String exception)
writeDataback to summary
public void writeData(ByteArrayDataOutputStream stream) throws IOException

Implements abstract org.jboss.classfilewriter.attributes.Attribute.writeData.

Annotations
@Override