public static String exceptionMessage(final Throwable t) {
        if (t == null) {
            return null;
        } else if (t.getMessage() == null) {
            return t.getClass().getSimpleName();
        } else {
            return t.getClass().getSimpleName() + " '" + t.getMessage() + "'";
        }
    }
Returns the simple class name with the message, useful as some exception messages
only make sense if you know the class name, e.g. {@link NullPointerException} and
some {@link java.io.IOException}s.
stroom-util/src/main/java/stroom/util/logging/LogUtil.java