Uses of Class
org.springframework.validation.ObjectError
Package
Description
Provides data binding and validation functionality,
for usage in business and/or UI layers.
Provides web-specific data binding functionality.
Support classes for web data binding.
-
Uses of ObjectError in org.springframework.validation
Modifier and TypeClassDescriptionclass
Encapsulates a field error, that is, a reason for rejecting a specific field value.Modifier and TypeMethodDescriptionAbstractBindingResult.getGlobalError()
AbstractErrors.getGlobalError()
BindException.getGlobalError()
Errors.getGlobalError()
Get the first global error, if any.Modifier and TypeMethodDescriptionAbstractBindingResult.getAllErrors()
AbstractErrors.getAllErrors()
BindException.getAllErrors()
Errors.getAllErrors()
Get all errors, both global and field ones.AbstractBindingResult.getGlobalErrors()
BindException.getGlobalErrors()
Errors.getGlobalErrors()
Get all global errors.Modifier and TypeMethodDescriptionvoid
AbstractBindingResult.addError
(ObjectError error) void
BindException.addError
(ObjectError error) void
BindingResult.addError
(ObjectError error) Add a customObjectError
orFieldError
to the errors list. -
Uses of ObjectError in org.springframework.web.bind
-
Uses of ObjectError in org.springframework.web.bind.support
Modifier and TypeMethodDescriptionWebExchangeBindException.getAllErrors()
WebExchangeBindException.getGlobalErrors()