org.jboss.classfilewriter.attributes
Class ExceptionsAttribute
java.lang.Object
org.jboss.classfilewriter.attributes.Attribute
org.jboss.classfilewriter.attributes.ExceptionsAttribute
- All Implemented Interfaces:
- WritableEntry
public class ExceptionsAttribute
- extends Attribute
The exceptions attribute, stores the checked exceptions a method is declared to throw
- Author:
- Stuart Douglas
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NAME
public static final String NAME
- See Also:
- Constant Field Values
ExceptionsAttribute
public ExceptionsAttribute(ConstPool constPool)
addExceptionClass
public void addExceptionClass(String exception)
writeData
public void writeData(ByteArrayDataOutputStream stream)
throws IOException
- Specified by:
writeData
in class Attribute
- Throws:
IOException
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.