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
|
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. |
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