Uses of Class
org.springframework.validation.ObjectError
Packages that use ObjectError Package Description org.springframework.validation Provides data binding and validation functionality, for usage in business and/or UI layers.org.springframework.web.bind Provides web-specific data binding functionality.org.springframework.web.bind.support Support classes for web data binding.Uses of ObjectError in org.springframework.validation
Subclasses of ObjectError in org.springframework.validation Modifier and Type Class Description class
FieldError
Encapsulates a field error, that is, a reason for rejecting a specific field value.Methods in org.springframework.validation that return ObjectError Modifier and Type Method Description ObjectError
AbstractBindingResult. getGlobalError()
ObjectError
AbstractErrors. getGlobalError()
ObjectError
BindException. getGlobalError()
ObjectError
Errors. getGlobalError()
Get the first global error, if any.Methods in org.springframework.validation that return types with arguments of type ObjectError Modifier and Type Method Description List<ObjectError>
AbstractBindingResult. getAllErrors()
List<ObjectError>
AbstractErrors. getAllErrors()
List<ObjectError>
BindException. getAllErrors()
List<ObjectError>
Errors. getAllErrors()
Get all errors, both global and field ones.List<ObjectError>
AbstractBindingResult. getGlobalErrors()
List<ObjectError>
BindException. getGlobalErrors()
List<ObjectError>
Errors. getGlobalErrors()
Get all global errors.Methods in org.springframework.validation with parameters of type ObjectError Modifier and Type Method Description void
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
Methods in org.springframework.web.bind that return ObjectError Modifier and Type Method Description ObjectError
EscapedErrors. getGlobalError()
Methods in org.springframework.web.bind that return types with arguments of type ObjectError Modifier and Type Method Description List<ObjectError>
EscapedErrors. getAllErrors()
List<ObjectError>
EscapedErrors. getGlobalErrors()
Uses of ObjectError in org.springframework.web.bind.support
Methods in org.springframework.web.bind.support that return ObjectError Modifier and Type Method Description ObjectError
WebExchangeBindException. getGlobalError()
Methods in org.springframework.web.bind.support that return types with arguments of type ObjectError Modifier and Type Method Description List<ObjectError>
WebExchangeBindException. getAllErrors()
List<ObjectError>
WebExchangeBindException. getGlobalErrors()
Methods in org.springframework.web.bind.support with parameters of type ObjectError Modifier and Type Method Description void
WebExchangeBindException. addError(ObjectError error)