Uses of Class
org.springframework.validation.ObjectError
Packages that use ObjectError
Package
Description
Provides data binding and validation functionality,
for usage in business and/or UI layers.
Abstractions and support classes for method validation, independent of the
underlying validation library.
Provides web-specific data binding functionality.
Support classes for web data binding.
-
Uses of ObjectError in org.springframework.validation
Subclasses of ObjectError in org.springframework.validationModifier and TypeClassDescriptionclassEncapsulates a field error, that is, a reason for rejecting a specific field value.Methods in org.springframework.validation that return ObjectErrorModifier and TypeMethodDescriptionAbstractBindingResult.getGlobalError()BindException.getGlobalError()default ObjectErrorErrors.getGlobalError()Get the first global error, if any.Methods in org.springframework.validation that return types with arguments of type ObjectErrorModifier and TypeMethodDescriptionAbstractBindingResult.getAllErrors()BindException.getAllErrors()default List<ObjectError>Errors.getAllErrors()Get all errors, both global and field ones.AbstractBindingResult.getGlobalErrors()BindException.getGlobalErrors()Errors.getGlobalErrors()Get all global errors.SimpleErrors.getGlobalErrors()Methods in org.springframework.validation with parameters of type ObjectErrorModifier and TypeMethodDescriptionvoidAbstractBindingResult.addError(ObjectError error) voidBindException.addError(ObjectError error) voidBindingResult.addError(ObjectError error) Add a customObjectErrororFieldErrorto the errors list. -
Uses of ObjectError in org.springframework.validation.method
Methods in org.springframework.validation.method that return ObjectErrorMethods in org.springframework.validation.method that return types with arguments of type ObjectErrorModifier and TypeMethodDescriptionParameterErrors.getAllErrors()ParameterErrors.getGlobalErrors() -
Uses of ObjectError in org.springframework.web.bind
Methods in org.springframework.web.bind that return ObjectErrorMethods in org.springframework.web.bind that return types with arguments of type ObjectError -
Uses of ObjectError in org.springframework.web.bind.support
Methods in org.springframework.web.bind.support that return ObjectErrorMethods in org.springframework.web.bind.support that return types with arguments of type ObjectErrorModifier and TypeMethodDescriptionWebExchangeBindException.getAllErrors()WebExchangeBindException.getGlobalErrors()Methods in org.springframework.web.bind.support with parameters of type ObjectError