BindingErrorProcessor
Uses the "required" error code and the field name to resolve message codes for a missing field error.
Creates a FieldError for each PropertyAccessException given, using the PropertyAccessException's error code ("typeMismatch", "methodInvocation") for resolving message codes. author: Alef Arendsenauthor: Juergen Hoellersince: 1.2See Also: DefaultBindingErrorProcessor.MISSING_FIELD_ERROR_CODESee Also: DataBinder.setBindingErrorProcessorSee Also: BeanPropertyBindingResult.addErrorSee Also: BeanPropertyBindingResult.resolveMessageCodesSee Also: org.springframework.beans.PropertyAccessException.getErrorCodeSee Also: org.springframework.beans.TypeMismatchException.ERROR_CODESee Also: org.springframework.beans.MethodInvocationException.ERROR_CODE
FieldError
PropertyAccessException
Default implementation returns a DefaultMessageSourceResolvable with "objectName.field" and "field" as codes. Parameters: field - the field that caused the binding error the Object array that represents the FieldError argumentsSee Also: org.springframework.validation.FieldError.getArgumentsSee Also: org.springframework.context.support.DefaultMessageSourceResolvable