log.error("Organizer: can't read file: " + f + " got exception " + e);
log.error("Organizer: can't read file: " + f + " got exception ", e);
  private void restore(String fileName) {    try {      File f = new File(fileName);      this.workspaceFileName = f.getPath();      if (doWorkspace && f.canRead()) {	if (log.isInfoEnabled()) {	  log.info("Reading from workspace file " + fileName);	}	ObjectInputStream ois = new ObjectInputStream(new FileInputStream(f));	try {	  root = (DefaultMutableTreeNode) ois.readObject();	  for (Enumeration e = root.depthFirstEnumeration();	       e.hasMoreElements(); ) {	    DefaultMutableTreeNode node =	      (DefaultMutableTreeNode) e.nextElement();	    Object o = node.getUserObject();            if (o instanceof ModifiableComponent)  	      installListeners((ModifiableComponent) o);	  } // end of for loop//          } catch (ClassNotFoundException cnfe) {//          } catch (InvalidClassException ice) {//          } catch (StreamCorruptedException sce) {//          } catch (OptionalDataException ode) {//          } catch (IOException ioe) {	} catch (Exception e) {          if(log.isErrorEnabled()) {	    // Don't dump stack on this -- too verbose            log.error("Organizer: can't read file: " + f + " got exception " + e);          }	} finally {	  ois.close();	} 	        } else {	if (log.isInfoEnabled()) {	  log.info("Not reading workspace file " + fileName);	}      }      if (root == null)	root = new DefaultMutableTreeNode();      String rootName = f.getName();      int extpos = rootName.lastIndexOf('.');      if (extpos >= 0) 	rootName = rootName.substring(0, extpos);      root.setUserObject(rootName);      model = new DefaultTreeModel(root);      //      model = createModel(this, root);      try {        experimentNames.init(root, Experiment.class, "getExperimentName");        societyNames.init(root, SocietyComponent.class, "getSocietyName");        recipeNames.init(root, RecipeComponent.class, "getRecipeName");        folderNames.init(root, String.class, "toString");	return;      } catch (SecurityException se) {	if (log.isErrorEnabled()) {	  log.error("Organizer error restoring workspace", se);	}      }    } catch (Exception ioe) {      if (log.isErrorEnabled()) {	log.error("Organizer error restoring workspace", ioe);      }      return;    }  } // end of restore