if(log.isDebugEnabled()) { log.error("ULPlanFinder: " + e);
if(log.isErrorEnabled()) { log.error("ULPlanFinder: ", e);
  private Vector getNodesInLongRange(Vector nodes,				     String attributeName, 				     long startTime, long endTime) {    Vector selectedNodes = new Vector(nodes.size());    long nodeValue;    for (int i = 0; i < nodes.size(); i++) {      Node node = (Node)nodes.elementAt(i);      String s = (String)node.getAttributeValue(attributeName);      if (s == null)	continue;      try {	nodeValue = Long.parseLong(s);      } catch (NumberFormatException e) {        if(log.isDebugEnabled()) {          log.error("ULPlanFinder: " + e);        }	continue;      }      if (nodeValue >= startTime && nodeValue <= endTime)	selectedNodes.addElement(node);    }    return selectedNodes;  }