public void handleErrors(
                final Consumer<ConstraintViolation<? extends T>> errorConsumer) {

            handleViolations(buildFilteringConsumer(ValidationSeverity.ERROR, errorConsumer));
        }
The passed errorConsumer is called for each ERROR violation in the result set. If there are no
errors the consumer will not be called.
stroom-util/src/main/java/stroom/util/config/ConfigValidator.java