| |
|
| java.lang.Object org.hammurapi.InspectorBase org.hammurapi.inspectors.LogExceptionsRule
LogExceptionsRule | public class LogExceptionsRule extends InspectorBase implements Parameterizable(Code) | | ER-120
Catch-blocks should log the exeption with Log4J.fatal( "Context String" , exception )
author: Pavel Vlasov version: $Revision: 1.6 $ |
getConfigInfo | public String getConfigInfo()(Code) | | Gives back the preconfigured values.
|
setParameter | public boolean setParameter(String name, Object value) throws ConfigurationException(Code) | | Configures the rule. Reads in the values of the parameters logger_class and
logger_method.
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(Handler handler)(Code) | | Reviews the exception handlers if they violate against the rule
Parameters: handler - the exception handler |
|
|
|