public void printStackTrace(PrintStream s) { super.printStackTrace(s); if ((cause != null) && !hasThrowableCauseMethod()) { s.print("Caused by: "); this.cause.printStackTrace(s); } }
public void printStackTrace(PrintWriter s) { super.printStackTrace(s); if ((cause != null) && !hasThrowableCauseMethod()) { s.print("Caused by: "); this.cause.printStackTrace(s); } } }