log.error("Exception reading properties file: " + e);
log.error("Exception reading properties file: ", e);
  private void readPropertiesFromFile() {    String dirName = ".";    try {      dirName = System.getProperty("org.cougaar.install.path");    } catch (RuntimeException e) {      // just use default    }    if (dirName == null)      dirName = ".";    JFileChooser chooser = new JFileChooser(dirName);    int result = chooser.showOpenDialog(this);    if (result != JFileChooser.APPROVE_OPTION)      return;    FileInputStream in = null;    Properties properties = new Properties();    try {      in = new FileInputStream(chooser.getSelectedFile());      properties.load(in);    } catch (Exception e) {      if(log.isErrorEnabled()) {        log.error("Exception reading properties file: " + e);      }      return;    }    // add all properties from the file, overwriting any existing property    Enumeration keys = properties.propertyNames();    while (keys.hasMoreElements()) {      String key = (String)keys.nextElement();      if (key.equals(CSMARTConsole.COMMAND_ARGUMENTS))        setArguments(properties.getProperty(key));      else        model.addRow(key, properties.getProperty(key));    }  }