logger.error(e + " Unable to create RequirementsExpander instance of " + expanderClass + ". " + "Loading default org.cougaar.logistics.plugin.projection.DetermineRequirementsExpander");
if (logger.isErrorEnabled()) { logger.error(e + " Unable to create RequirementsExpander instance of " + expanderClass + ". " + "Loading default org.cougaar.logistics.plugin.projection.DetermineRequirementsExpander"); }
  private DetReqExpanderIfc getDetermineRequirementsExpanderModule() {    String expanderClass = (String) pluginParams.get(REQ_EXPANDER);    if (expanderClass != null) {      try {        Class[] paramTypes = {this.getClass()};        Object[] initArgs = {this};        Class cls = Class.forName(expanderClass);        Constructor constructor = cls.getConstructor(paramTypes);        DetReqExpanderIfc expander = (DetReqExpanderIfc) constructor.newInstance(initArgs);        logger.info("Using RequirementsExpander " + expanderClass);        return expander;      } catch (Exception e) {        logger.error(e + " Unable to create RequirementsExpander instance of " + expanderClass + ". " +                     "Loading default org.cougaar.logistics.plugin.projection.DetermineRequirementsExpander");      }    }    return new DetermineRequirementsExpander(this);  }