if (message != null) args.put ("message", message);
if (error != null) { args.put ("message", error.toString()); StringWriter sw = new StringWriter(); PrintWriter pw = new PrintWriter (sw, true); error.printStackTrace (pw); args.put ("trace", sw.toString()); }
  boolean ackProblem (int percentComplete, String message) {    Map args = getArgs();    args.put ("percent_complete", new Integer (percentComplete));    args.put ("number", probNumber);    if (message != null)      args.put ("message", message);    String str = ClientComms.postToURL (args, "ackrequest.php");    return str.indexOf ("canceled") != -1;  }