Skip to content

Commit 94d29ba

Browse files
vpavicsbrannen
authored andcommitted
Fix typo in Spring MVC error responses documentation
Closes gh-34552 Signed-off-by: Vedran Pavic <[email protected]>
1 parent a6f3f18 commit 94d29ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

framework-docs/modules/ROOT/pages/web/webmvc/mvc-ann-rest-exceptions.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ already set.
3737
"application/problem+json" over "application/json" when rendering a `ProblemDetail`,
3838
and also falls back on it if no compatible media type is found.
3939

40-
To enable RFC 9457 responses for Spring WebFlux exceptions and for any
40+
To enable RFC 9457 responses for Spring MVC exceptions and for any
4141
`ErrorResponseException`, extend `ResponseEntityExceptionHandler` and declare it as an
4242
xref:web/webmvc/mvc-controller/ann-advice.adoc[@ControllerAdvice] in Spring configuration. The handler
4343
has an `@ExceptionHandler` method that handles any `ErrorResponse` exception, which

0 commit comments

Comments
 (0)