From e9f48a44f4a8a31dfddf405a3217140b33ec068f 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 --- 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 e1853347073..63ccc4d141c 100644 --- a/src/asciidoc/web-mvc.adoc +++ b/src/asciidoc/web-mvc.adoc @@ -3807,7 +3807,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) @@ -3833,6 +3834,9 @@ corresponding status codes: | `MethodArgumentNotValidException` | 400 (Bad Request) +| `MissingPathVariableException` +| 500 (Internal Server Error) + | `MissingServletRequestParameterException` | 400 (Bad Request) @@ -3847,12 +3851,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