private static String getStackTrace(final Throwable throwable) {
        LOGGER.debug(throwable::getMessage, throwable);
        final StringWriter sw = new StringWriter();
        final PrintWriter pw = new PrintWriter(sw);
        throwable.printStackTrace(pw);
        return sw.toString();
    }
Useful for exceptions whose message is useless without the name of the exception class.
@return The message with the class simple name in brackets, e.g. "some message (RuntimeException)"
stroom-util/src/main/java/stroom/util/string/ExceptionStringUtil.java