printStackTrace(s) - Java Throwable's method

Method
java.lang.Throwable
void printStackTrace(
  PrintWriter s
)

Prints this throwable and its backtrace to the specified print writer.
Parameters:
s - PrintWriter to use for output
Since:
Java JDK1.1