| org.springframework.validation.ObjectError org.springframework.validation.FieldError
FieldError | public FieldError(String objectName, String field, Object rejectedValue, boolean bindingFailure, String[] codes, Object[] arguments, String defaultMessage)(Code) | | Create a new FieldError instance.
Parameters: objectName - the name of the affected object Parameters: field - the affected field of the object Parameters: rejectedValue - the rejected field value Parameters: bindingFailure - whether this error represents a binding failure(like a type mismatch); else, it is a validation failure Parameters: codes - the codes to be used to resolve this message Parameters: arguments - the array of arguments to be used to resolve this message Parameters: defaultMessage - the default message to be used to resolve this message |
getField | public String getField()(Code) | | Return the affected field of the object.
|
getRejectedValue | public Object getRejectedValue()(Code) | | Return the rejected field value.
|
hashCode | public int hashCode()(Code) | | |
isBindingFailure | public boolean isBindingFailure()(Code) | | Return whether this error represents a binding failure
(like a type mismatch); else, it is a validation failure.
|
|
|