public Severity getMaxSeverity() {
        for (final Severity sev : Severity.SEVERITIES) {
            final Set<StoredError> messages = errorMap.get(sev);
            if (NullSafe.hasItems(messages)) {
                return sev;
            }
        }
        return null;
    }
Stores details of warnings, errors and fatal errors.
stroom-core-client-widget/src/main/java/stroom/editor/client/view/Indicator.java