if(log.isDebugEnabled()) { log.error("CSMARTGraph: " + e);
if(log.isErrorEnabled()) { log.error("CSMARTGraph: ", e);
  private Vector getNodesByComparison(String attributeName, long value,				      int comparison) {    Vector nodes = new Vector();    try {      GraphEnumeration ge = elements(GrappaConstants.NODE);      while (ge.hasMoreElements()) {	Element e = ge.nextGraphElement();	String s = (String)e.getAttributeValue(attributeName);	if (s == null)	  continue;	long nodeValue = Long.parseLong(s);	if (comparison == NODE_VALUE_EQUAL_TO && nodeValue == value)	  nodes.addElement(e);	else if (comparison == NODE_VALUE_LESS_THAN && nodeValue < value)	  nodes.addElement(e);	else if (comparison == NODE_VALUE_GREATER_THAN && nodeValue > value)	  nodes.addElement(e);      }    } catch (NumberFormatException e) {      if(log.isDebugEnabled()) {        log.error("CSMARTGraph: " + e);      }    }    return nodes;  }