@@ -2215,6 +2215,14 @@ supported for all return values.
2215
2215
| `HttpHeaders`
2216
2216
| For returning a response with headers and no body.
2217
2217
2218
+ | `ErrorResponse`
2219
+ | To render an RFC 7807 error response with details in the body,
2220
+ see <<mvc-ann-rest-exceptions>>
2221
+
2222
+ | `ProblemDetail`
2223
+ | To render an RFC 7807 error response with details in the body,
2224
+ see <<mvc-ann-rest-exceptions>>
2225
+
2218
2226
| `String`
2219
2227
| A view name to be resolved with `ViewResolver` implementations and used together with the implicit
2220
2228
model -- determined through command objects and `@ModelAttribute` methods. The handler
@@ -3898,6 +3906,7 @@ level, <<mvc-exceptionhandlers, HandlerExceptionResolver>> mechanism.
3898
3906
3899
3907
[[mvc-ann-exceptionhandler-args]]
3900
3908
==== Method Arguments
3909
+ [.small]#<<webflux.adoc#webflux-ann-exceptionhandler-args, WebFlux>>#
3901
3910
3902
3911
`@ExceptionHandler` methods support the following arguments:
3903
3912
@@ -3962,6 +3971,7 @@ level, <<mvc-exceptionhandlers, HandlerExceptionResolver>> mechanism.
3962
3971
3963
3972
[[mvc-ann-exceptionhandler-return-values]]
3964
3973
==== Return Values
3974
+ [.small]#<<webflux.adoc#webflux-ann-exceptionhandler-return-values, WebFlux>>#
3965
3975
3966
3976
`@ExceptionHandler` methods support the following return values:
3967
3977
@@ -3978,6 +3988,14 @@ level, <<mvc-exceptionhandlers, HandlerExceptionResolver>> mechanism.
3978
3988
be converted through `HttpMessageConverter` instances and written to the response.
3979
3989
See <<mvc-ann-responseentity>>.
3980
3990
3991
+ | `ErrorResponse`
3992
+ | To render an RFC 7807 error response with details in the body,
3993
+ see <<mvc-ann-rest-exceptions>>
3994
+
3995
+ | `ProblemDetail`
3996
+ | To render an RFC 7807 error response with details in the body,
3997
+ see <<mvc-ann-rest-exceptions>>
3998
+
3981
3999
| `String`
3982
4000
| A view name to be resolved with `ViewResolver` implementations and used together with the
3983
4001
implicit model -- determined through command objects and `@ModelAttribute` methods.
0 commit comments