question: public void printStackTrace ( PrintWriter output ) { synchronized ( output ) { super . printStackTrace ( output ) ; Throwable throwable = getException ( ) ; if ( throwable != null ) { output . print ( "Caused by: " ) ; throwable . printStackTrace ( output ) ; } } }
target:  Prints this exception's stack trace to the given print writer.