integration-impl/src/main/java/se/idsec/signservice/integration/core/validation/ValidationResult.java
public void rejectValue(final String field, final String msg) {
    if (this.objectName != null) {
      this.fieldErrors.put(String.format("%s.%s", this.objectName, field), msg);
    }
    else {
      this.fieldErrors.put(field, msg);
    }
  }
/**
   * Register an error for a specific field.
   * 
   * @param field
   *          the field name
   * @param msg
   *          the error message
   */
Register an error for a specific field.

@param field
the field name
@param msg
the error message
Register an error for a specific field . @param field the field name @param msg the error message
public void rejectValue(final String field, final String msg) {
    if (this.objectName != null) {
      this.fieldErrors.put(String.format("%s.%s", this.objectName, field), msg);
    }
    else {
      this.fieldErrors.put(field, msg);
    }
  }
public void rejectValue ( final String field , final String msg ) { if ( this . objectName != null ) { this . fieldErrors . put ( String . format ( "%s.%s" , this . objectName , field ) , msg ) ; } else { this . fieldErrors . put ( field , msg ) ; } }
Register an error for a specific field.
Register an error for a specific field .