pw.close (); closed = true;
try { flush(); out.close(); } catch (InterruptedIOException iioe) { Thread.currentThread().interrupt(); } catch (IOException e) { setError (); }
  public void close ()  {    pw.close ();    closed = true;  }