docs: public void printStackTrace(java.io.PrintWriter pw) {
          String lineSep = getLineSeparatorProperty();
  
          printText(pw, "currentException", "Current exception:");
          printStackTrace(lineSep, pw);
          printText(pw, "endOfExTraces", "End of exception traces");
      }