System.out.println("queryHT: "+dbQuery); e.printStackTrace();
if(log.isErrorEnabled()) { log.error("queryHT: "+dbQuery, e); }
  static SortedMap queryHT(String query, Map substitutions, String qFile){    String dbQuery = DBUtils.getQuery(query, substitutions, qFile);    Connection conn = null;    Map ht = new TreeMap();    try {      conn = DBUtils.getConnection(qFile);      if (conn == null) {	System.out.println("DBUtils:queryHT: Got no connection");	return (SortedMap)ht;      }      try {	Statement stmt = conn.createStatement();		ResultSet rs = stmt.executeQuery(dbQuery);	while (rs.next()) {	  // Null first string, (like expt name), kills stuff	  if (rs.getString(1) != null)	    ht.put(rs.getString(1),rs.getString(2));	}	rs.close();	stmt.close();      } finally {	if (conn != null)	  conn.close();      }          } catch (Exception e) {      System.out.println("queryHT: "+dbQuery);      e.printStackTrace();      throw new RuntimeException("Error" + e);    }    return (SortedMap)ht;  }