Browse Source

Merge branch '6.1.x'

pull/32941/head
Sam Brannen 2 years ago
parent
commit
967800a2f9
  1. 2
      framework-docs/modules/ROOT/pages/core/validation/beanvalidation.adoc

2
framework-docs/modules/ROOT/pages/core/validation/beanvalidation.adoc

@ -341,7 +341,7 @@ xref:web/webflux/ann-rest-exceptions.adoc[Error Responses] sections. @@ -341,7 +341,7 @@ xref:web/webflux/ann-rest-exceptions.adoc[Error Responses] sections.
=== Method Validation Exceptions
By default, `jakarta.validation.ConstraintViolationException` is raised with the set of
``ConstraintViolation``s returned by `jakarata.validation.Validator`. As an alternative,
``ConstraintViolation``s returned by `jakarta.validation.Validator`. As an alternative,
you can have `MethodValidationException` raised instead with ``ConstraintViolation``s
adapted to `MessageSourceResolvable` errors. To enable set the following flag:

Loading…
Cancel
Save