code: protected void reportMessage(ValidationResult result, Severity severity,
                                   String messageKey, Object... params) {
          result.append(EntryValidations.createMessage(origin, severity, messageKey, params));
      }
docs: Creates a validation message for the sequence and adds it to
  the validation result.
  
  @param severity message severity
  @param messageKey a message key
  @param params message parameters