public static void hasLength(String text) {
        hasLength(text,
                "[Assertion failed] - this String argument must have length; it must not be null or empty");
    }
Assert that the given String is not empty; that is,
it must not be <code>null</code> and not the empty String.
<pre class="code">Assert.hasLength(name);</pre>
@param text the String to check
@see StringUtils#hasLength
src/main/java/org/apache/shiro/lang/util/Assert.java