code: public void addErrorMsgs(final Set<String> msgs) {
      if (msgs != null) {
        this._errorMsgs.addAll(msgs);
        if (!msgs.isEmpty()) {
          this._status = ValidationStatus.ERROR;
        }
      }
    }
docs: Add a message with status level being {@link ValidationStatus#ERROR}