/** * Checks if {@code value} is blank except <code>null</code>. * * @param name the name of the argument of error reporting. Not used if no * exception is thrown. May be <code>null</code>, although not * recommended. * @param value the value of the argument to check to be not blank but may be * <code>null</code>. * @throws BlankExceptNullArgumentException if {@code value} is blank and not * <code>null</code>. */ public static void checkNotBlankExceptNull(final String name, final String value) throws BlankExceptNullArgumentException { checkNotBlankExceptNull(name, value, null); }