fr.umlv.corosol.classfile.attribute
Interface JExceptionsAttribute

All Superinterfaces:
JAttribute, JClassFileItem, JObject
All Known Implementing Classes:
DefaultJExceptionsAttribute

public interface JExceptionsAttribute
extends JAttribute

This interface represents the Exceptions attributes.

The Exceptions attribute indicates which checked exceptions a method may throw.

Author:
Christophe Deleray

Field Summary
 
Fields inherited from interface fr.umlv.corosol.classfile.attribute.JAttribute
CODE, CONSTANT_VALUE, DEPRECATED, EXCEPTIONS, INNER_CLASSES, LINE_NUMBER_TABLE, LOCAL_VARIABLE_TABLE, SOURCE_FILE, SYNTHETIC
 
Method Summary
 java.lang.String[] getExceptionNames()
          Returns the names of the checked exceptions a method may throw.
 void setExceptionNames(java.lang.String[] exceptionNames)
          Sets the names of the checked exceptions a method may throw.
 
Methods inherited from interface fr.umlv.corosol.classfile.attribute.JAttribute
getName, getSize, toString
 
Methods inherited from interface fr.umlv.corosol.classfile.JClassFileItem
getConstantPool, readItem, setConstantPool, writeItem
 

Method Detail

getExceptionNames

java.lang.String[] getExceptionNames()
Returns the names of the checked exceptions a method may throw.

Returns:
an array of String corresponding to the checked exceptions a method may throw

setExceptionNames

void setExceptionNames(java.lang.String[] exceptionNames)
Sets the names of the checked exceptions a method may throw.

Parameters:
exceptionNames - an array of String corresponding to the checked exceptions a method may throw