From 64790903e97de6c495a12eb9847865c203c7cc8b Mon Sep 17 00:00:00 2001 From: Kazuki Shimizu Date: Wed, 7 Oct 2015 02:14:00 +0900 Subject: [PATCH] Add description for two exceptions which handled by DefaultHandlerExceptionResolver in reference document * MissingPathVariableException (Available since 4.2) * NoHandlerFoundException (Available since 4.0) --- src/asciidoc/web-mvc.adoc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/asciidoc/web-mvc.adoc b/src/asciidoc/web-mvc.adoc index fa99a13d52..6e914fdb26 100644 --- a/src/asciidoc/web-mvc.adoc +++ b/src/asciidoc/web-mvc.adoc @@ -3775,6 +3775,12 @@ 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