Throwable to a HandlerResult.
Supported by DispatcherHandler when used in the following ways:
HandlerResult, allowing
a HandlerAdapter to apply its exception handling to deferred exceptions
from asynchronous return values, and to response rendering.
HandlerAdapter in order to handle exceptions that
occur before a request is mapped to a handler, or for unhandled errors from a
handler.
HandlerAdapter, HandlerResult#setExceptionHandler(DispatchExceptionHandler)
| Modifier and Type | Method and Description |
|---|---|
| public Mono | Returns: aMono that emits a HandlerResult or an error
signal with the original exception if it remains not handledthe current exchange exchange, Throwable the exception to handle ex)Handle the given exception, mapping it to a |
| handleError | back to summary |
|---|---|
| public Mono Handle the given exception, mapping it to a
| |