What is the easiest way to convert the result of Throwable.getStackTrace() to a string that depicts the stacktrace?
Throwable.getStackTrace()
For me the cleanest and easiest way was:
import java.util.Arrays; Arrays.toString(e.getStackTrace());