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