List of usage examples for org.apache.shiro.util Assert hasText
public static void hasText(String text, String message)
null and must contain at least one non-whitespace character. From source file:example.app.model.ISBN.java
License:Apache License
public static ISBN of(String number) { Assert.hasText(number, String.format("Number [%s] is required", number)); return new ISBN(number); }