Example usage for Java org.springframework.validation FieldError fields, constructors, methods, implement or subclass
The text is from its open source code.
FieldError(String objectName, String field, @Nullable Object rejectedValue, boolean bindingFailure, @Nullable String[] codes, @Nullable Object[] arguments, @Nullable String defaultMessage) Create a new FieldError instance. | |
FieldError(String objectName, String field, String defaultMessage) Create a new FieldError instance. |
Object[] | getArguments() |
String | getCode() Return the default code of this resolvable, that is, the last one in the codes array. |
String[] | getCodes() |
String | getDefaultMessage() |
String | getField() Return the affected field of the object. |
String | getObjectName() Return the name of the affected object. |
Object | getRejectedValue() Return the rejected field value. |
boolean | isBindingFailure() Return whether this error represents a binding failure (like a type mismatch); otherwise it is a validation failure. |
String | toString() |