public class WebFluxResponseStatusExceptionHandler extends ResponseStatusExceptionHandler
ResponseStatusException
(inherited from the base class) as well as exceptions annotated with
@ResponseStatus
by determining the HTTP status
for them and updating the status of the response accordingly.
If the response is already committed, the error remains unresolved and is propagated.
Constructor and Description |
---|
WebFluxResponseStatusExceptionHandler() |
Modifier and Type | Method and Description |
---|---|
protected int |
determineRawStatusCode(Throwable ex)
Determine the raw status code for the given exception.
|
determineStatus, handle, setWarnLogCategory
public WebFluxResponseStatusExceptionHandler()
protected int determineRawStatusCode(Throwable ex)
ResponseStatusExceptionHandler
determineRawStatusCode
in class ResponseStatusExceptionHandler
ex
- the exception to check