code: public void dump(final PrintStream ps) {
      String str =
        "Reported error: \"" + message + "\"";
  
      if (lineNumber != -1) {
        str += " at line " + lineNumber + " column " + colNumber;
      }
      ps.println(str);
  
      if (exception != null) {
        exception.printStackTrace(ps);
      }
    }
docs: Dump the details of this ErrorItem on the specified {@link PrintStream}.
  @param ps print stream.