logger.error("Setting AgentID-" + ex.toString());
if (logger.isErrorEnabled()) { logger.error("Setting AgentID-" + ex.toString()); }
  public void setAgentID(String name) {    String exception;    StringRuleParameter param = (StringRuleParameter)      Lookup(AgentID);    try {      param.setValue(name);    } catch(RuleParameterIllegalValueException ex) {      logger.error("Setting AgentID-" + ex.toString());      // Print exception, waiting for a static logger    }  }