printStackTraceToString

Return a String containing the printed stack trace for a given Throwable.

Return

the stack trace string

Parameters

throwable

the throwable that should have its stack trace printed