|
|
|
@ -3807,7 +3807,8 @@ config). Listed below are some of the exceptions handled by this resolver and th |
|
|
|
corresponding status codes: |
|
|
|
corresponding status codes: |
|
|
|
|
|
|
|
|
|
|
|
|=== |
|
|
|
|=== |
|
|
|
| Exception| HTTP Status Code |
|
|
|
| Exception |
|
|
|
|
|
|
|
| HTTP Status Code |
|
|
|
|
|
|
|
|
|
|
|
| `BindException` |
|
|
|
| `BindException` |
|
|
|
| 400 (Bad Request) |
|
|
|
| 400 (Bad Request) |
|
|
|
@ -3833,6 +3834,9 @@ corresponding status codes: |
|
|
|
| `MethodArgumentNotValidException` |
|
|
|
| `MethodArgumentNotValidException` |
|
|
|
| 400 (Bad Request) |
|
|
|
| 400 (Bad Request) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| `MissingPathVariableException` |
|
|
|
|
|
|
|
| 500 (Internal Server Error) |
|
|
|
|
|
|
|
|
|
|
|
| `MissingServletRequestParameterException` |
|
|
|
| `MissingServletRequestParameterException` |
|
|
|
| 400 (Bad Request) |
|
|
|
| 400 (Bad Request) |
|
|
|
|
|
|
|
|
|
|
|
@ -3847,12 +3851,6 @@ corresponding status codes: |
|
|
|
|
|
|
|
|
|
|
|
| `TypeMismatchException` |
|
|
|
| `TypeMismatchException` |
|
|
|
| 400 (Bad Request) |
|
|
|
| 400 (Bad Request) |
|
|
|
|
|
|
|
|
|
|
|
| `MissingPathVariableException` |
|
|
|
|
|
|
|
| 500 (Internal Server Error) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| `NoHandlerFoundException` |
|
|
|
|
|
|
|
| 404 (Not Found) |
|
|
|
|
|
|
|
|=== |
|
|
|
|=== |
|
|
|
|
|
|
|
|
|
|
|
The `DefaultHandlerExceptionResolver` works transparently by setting the status of the |
|
|
|
The `DefaultHandlerExceptionResolver` works transparently by setting the status of the |
|
|
|
|