@Override
        public String toString() {
            return "Result{" +
                   "errorCount=" + errorCount +
                   ", warningCount=" + warningCount +
                   '}';
        }
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