diff --git a/framework-docs/modules/ROOT/pages/core/validation/beanvalidation.adoc b/framework-docs/modules/ROOT/pages/core/validation/beanvalidation.adoc index 028a725461e..ef6bbb8630e 100644 --- a/framework-docs/modules/ROOT/pages/core/validation/beanvalidation.adoc +++ b/framework-docs/modules/ROOT/pages/core/validation/beanvalidation.adoc @@ -338,7 +338,7 @@ xref:web/webflux/ann-rest-exceptions.adoc[Error Responses] sections. [[validation-beanvalidation-spring-method-exceptions]] -==== Method Validation Exceptions +=== Method Validation Exceptions By default, `jakarta.validation.ConstraintViolationException` is raised with the set of ``ConstraintViolation``s returned by `jakarata.validation.Validator`. As an alternative, @@ -386,7 +386,7 @@ implements `org.springframework.validation.Errors` and exposes validation errors [[validation-beanvalidation-spring-method-i18n]] -==== Customizing Validation Errors +=== Customizing Validation Errors The adapted `MessageSourceResolvable` errors can be turned into error messages to display to users through the configured `MessageSource` with locale and language specific