if(log.isDebugEnabled()) {
if(log.isErrorEnabled()) {
  private void parseParameters() {    Vector pv = getParameters() != null ? new Vector(getParameters()) : null;    if (pv == null) {      throw new RuntimeException("TranducerPlugIn expects parameters, got none");    }    String fileName = (String)pv.elementAt(0);    if (fileName == null) {      throw new RuntimeException("TransducerPlugIn expected param[0] to be a data file name, got none");    }    // Finished getting parameter.  Now open the file        InputStream input = null;    try {      input = getConfigFinder().open(fileName);    } catch (IOException e) {      throw new RuntimeException("TransducerPlugIn unable to open file " + fileName);    }        // Now read the file    if (input != null) {      BufferedReader in = new BufferedReader(new InputStreamReader(input));      try {	while(in.ready()) {	  String line = in.readLine();	  if (line == null) {	    break;	  } else {	    // Skip comment lines	    try {	      if (line.charAt(0) != '#') {		// What about lines of all blanks?		// create a new Agent		Agent newAg = processInputLine(line);		if (newAg != null) {		  if (log.isDebugEnabled()) {		    log.debug("parseParameters: " + this + " adding Agent to the world: " + newAg);		  }		  world.addAgent(newAg);		}	      }	    } catch(IndexOutOfBoundsException e) {	      if(line.length() == 0) {		// Empty line with a CR. This is fin.	      } else {                if(log.isDebugEnabled()) {                  log.error("Got an expection parsing input file.", e);                }	      }	    }	  }	}	in.close();      } catch (IOException e) {	// error reading input data!	if (log.isDebugEnabled()) {	  log.error("parseParameters: " + this + " failed to read input data.");	}      }    }  } // end of parseParameters