private static String getMessageAndClassName(final Throwable throwable) {
        LOGGER.debug(throwable::getMessage, throwable);
        if (throwable.getMessage() == null) {
            return "(" + throwable.getClass().getName() + ")";
        }
        return throwable.getMessage() + " (" + throwable.getClass().getName() + ")";
    }
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