From cf9b4d1e0bf30713ff65d112053ae97ff95607dd Mon Sep 17 00:00:00 2001 From: Juergen Hoeller Date: Wed, 17 Aug 2016 21:10:37 +0200 Subject: [PATCH] Removed duplicate NoHandlerFoundException entry Issue: SPR-14598 (cherry picked from commit 188e532) --- src/asciidoc/web-mvc.adoc | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/src/asciidoc/web-mvc.adoc b/src/asciidoc/web-mvc.adoc index ebbc65ba51d..0663c768d7d 100644 --- a/src/asciidoc/web-mvc.adoc +++ b/src/asciidoc/web-mvc.adoc @@ -3991,7 +3991,8 @@ config). Listed below are some of the exceptions handled by this resolver and th corresponding status codes: |=== -| Exception| HTTP Status Code +| Exception +| HTTP Status Code | `BindException` | 400 (Bad Request) @@ -4017,6 +4018,9 @@ corresponding status codes: | `MethodArgumentNotValidException` | 400 (Bad Request) +| `MissingPathVariableException` +| 500 (Internal Server Error) + | `MissingServletRequestParameterException` | 400 (Bad Request) @@ -4031,12 +4035,6 @@ corresponding status codes: | `TypeMismatchException` | 400 (Bad Request) - -| `MissingPathVariableException` -| 500 (Internal Server Error) - -| `NoHandlerFoundException` -| 404 (Not Found) |=== The `DefaultHandlerExceptionResolver` works transparently by setting the status of the