System.err.println (e.getMessage());
System.err.println ("ClientComms.readXML - Got exception : " + e.getMessage());
  public static Exception readXML (Map args, String pagename,                                   DefaultHandler handler) {      String stringURL = "http://" + host + ":" + port + path + pagename +	  convertArgs (args, true);    try {      if (debugXML) {        URL url = new URL (stringURL);        System.out.println ("ClientComms.readXML - Only testing URL. " +                            "No scheduling will take place.");        System.out.println ("ClientComms.readXML - url " + url);        System.out.println ("ClientComms.readXML - " + testURL (url));        return null;      }      SAXParser parser = new SAXParser();      parser.setContentHandler (handler);      parser.parse (stringURL);    } catch (ConnectException ce) {      return printDiagnostic (ce, stringURL);    } catch (Exception e) {      System.err.println (e.getMessage());//      e.printStackTrace();      try {	  System.out.println ("readXML - returned html was :\n" +			      testURL (new URL (stringURL)));      } catch (Exception ee) {}      return e;    }    return null;  }