public class ValidationErrors extends BeanPropertyBindingResult
Models validation errors
| Fields inherited from class | Fields |
|---|---|
class BeanPropertyBindingResult |
MODEL_KEY_PREFIX, NESTED_PATH_SEPARATOR |
| Constructor and description |
|---|
ValidationErrors(Object target, String objectName)Creates a new instance of the BeanPropertyBindingResult class. |
ValidationErrors(Object target)Creates a new instance of the BeanPropertyBindingResult class. |
Creates a new instance of the BeanPropertyBindingResult class.
target - the target bean to bind ontoobjectName - the name of the target objectCreates a new instance of the BeanPropertyBindingResult class.
target - the target bean to bind onto