예제 #1
0
파일: Throwable.java 프로젝트: barkholt/gwt
  private void printStackTraceImpl(PrintStream out, String prefix, String ident) {
    out.println(ident + prefix + this);
    printStackTraceItems(out, ident);

    for (Throwable t : getSuppressed()) {
      t.printStackTraceImpl(out, "Suppressed: ", "\t" + ident);
    }

    Throwable theCause = getCause();
    if (theCause != null) {
      theCause.printStackTraceImpl(out, "Caused by: ", ident);
    }
  }
예제 #2
0
파일: Throwable.java 프로젝트: barkholt/gwt
 public void printStackTrace(PrintStream out) {
   printStackTraceImpl(out, "", "");
 }