class Validator {

    public void checkNotEmpty(String name, String input) {
        if (isEmpty(input)) {
            throw new IllegalArgumentException(String.format("Parameter %s is empty: '%s'", name, input));
        }
    }

    public  Validator();

}