logger.error("Setting FillToCapacity-" + ex.toString());
if (logger.isErrorEnabled()) { logger.error("Setting FillToCapacity-" + ex.toString()); }
  public void setFillToCapacity(boolean b) {    String exception;    BooleanRuleParameter param = (BooleanRuleParameter)      Lookup(FillToCapacity);    try {      param.setValue(new Boolean(b));    } catch (RuleParameterIllegalValueException ex) {      logger.error("Setting FillToCapacity-" + ex.toString());      // Print exception, waiting for a static logger    }  }