What is the easiest way to convert the result of Throwable.getStackTrace() to a string that depicts the stacktrace?
Arrays.toString(thrown.getStackTrace())
Is the easiest way to convert the result into String I am using this in my program to print the stack trace
LOGGER.log(Level.SEVERE, "Query Builder Issue Stack Trace : {0} ,Message : {1} objid {2}", new Object[]{Arrays.toString(e.getStackTrace()), e.getMessage(),objId});