We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 659472f commit 5b9cb82Copy full SHA for 5b9cb82
framework-docs/modules/ROOT/pages/web/webmvc/mvc-controller/ann-methods/modelattrib-method-args.adoc
@@ -243,7 +243,7 @@ Kotlin::
243
======
244
245
If there is no `BindingResult` parameter after the `@ModelAttribute`, then
246
-`MethodArgumentNotValueException` is raised with the validation errors. However, if method
+a `MethodArgumentNotValidException` is raised with the validation errors. However, if method
247
validation applies because other parameters have `@jakarta.validation.Constraint` annotations,
248
then `HandlerMethodValidationException` is raised instead. For more details, see the section
249
xref:web/webmvc/mvc-controller/ann-validation.adoc[Validation].
0 commit comments