jodd-core/src/main/java/jodd/exception/ExceptionUtil.java
public static String message(final Throwable throwable) {
		String message = throwable.getMessage();

		if (StringUtil.isBlank(message)) {
			message = throwable.toString();
		}

		return message;
	}
public static String message(final Throwable throwable) {
		String message = throwable.getMessage();

		if (StringUtil.isBlank(message)) {
			message = throwable.toString();
		}

		return message;
	}
public static String message ( final Throwable throwable ) { String message = throwable . getMessage ( ) ; if ( StringUtil . isBlank ( message ) ) { message = throwable . toString ( ) ; } return message ; }
Returns <code>non-null</code> message for a throwable.
Returns <code > non - null< / code > message for a throwable .