question: public static void notWhitespace ( final String str , final String name , final int maxLength ) { if ( StringUtils . isNullOrWhitespace ( str ) || str . length ( ) > maxLength ) { final String message = String . format ( "%s cannot be null, empty, or whitespace, or have length greater than %d" , name , maxLength ) ; throw new IllegalArgumentException ( message ) ; } }
target:  Throws an exception if the specified string contains no non-whitespace characters.