Skip to content

Commit 0d39bb8

Browse files
committed
Merge branch '6.2.x'
2 parents d75f20f + 5b9cb82 commit 0d39bb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

framework-docs/modules/ROOT/pages/web/webmvc/mvc-controller/ann-methods/modelattrib-method-args.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ Kotlin::
243243
======
244244

245245
If there is no `BindingResult` parameter after the `@ModelAttribute`, then
246-
`MethodArgumentNotValueException` is raised with the validation errors. However, if method
246+
a `MethodArgumentNotValidException` is raised with the validation errors. However, if method
247247
validation applies because other parameters have `@jakarta.validation.Constraint` annotations,
248248
then `HandlerMethodValidationException` is raised instead. For more details, see the section
249249
xref:web/webmvc/mvc-controller/ann-validation.adoc[Validation].

0 commit comments

Comments
 (0)