| java.lang.Object org.hammurapi.InspectorBase org.hammurapi.inspectors.ThrowsClauseRule
ThrowsClauseRule | public class ThrowsClauseRule extends InspectorBase implements Parameterizable(Code) | | ER-114
Declare only predefined set of exceptions in throws clause (application layer specific)
author: Janos Czako version: $Revision: 1.3 $ |
Method Summary | |
public String | getConfigInfo() Gives back the preconfigured values. | public boolean | setParameter(String name, Object parameter) Configures the rule. | public void | visit(Operation element) Reviews the operations, if they have items in their throws clause which
is nor predefined. |
getConfigInfo | public String getConfigInfo()(Code) | | Gives back the preconfigured values.
|
setParameter | public boolean setParameter(String name, Object parameter) throws ConfigurationException(Code) | | Configures the rule. Reads in the values of the parameter allowed-throws.
Parameters: name - the name of the parameter being loaded from Hammurapi configuration Parameters: value - the value of the parameter being loaded from Hammurapi configuration exception: ConfigurationException - in case of a not supported parameter |
visit | public void visit(Operation element)(Code) | | Reviews the operations, if they have items in their throws clause which
is nor predefined.
Parameters: element - the operation to be reviewed. |
|
|