public static <T extends CharSequence> T notEmpty(final T chars) {
        return notEmpty(chars, DEFAULT_NOT_EMPTY_CHAR_SEQUENCE_EX_MESSAGE);
    }
<p>Validate that the specified argument character sequence is
neither {@code null} nor a length of zero (no characters);
otherwise throwing an exception with the specified message.

<pre>Validate.notEmpty(myString);</pre>

<p>The message in the exception is &quot;The validated
character sequence is empty&quot;.</p>

@param <T> the character sequence type
@param chars  the character sequence to check, validated not null by this method
@return the validated character sequence (never {@code null} method for chaining)
@throws NullPointerException if the character sequence is {@code null}
@throws IllegalArgumentException if the character sequence is empty
@see #notEmpty(CharSequence, String, Object...)
replugin-host-library/replugin-host-lib/src/main/java/com/qihoo360/replugin/utils/Validate.java