public boolean hasErrorsOrWarnings() {
            return errorCount > 0 || warningCount > 0;
        }
The passed errorConsumer is called for each WARNING 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