From 4a330c876cfe0c65c35922f50c23ed5d33951b7e Mon Sep 17 00:00:00 2001 From: Andrea Vacondio Date: Mon, 24 Nov 2014 16:35:31 +0100 Subject: [PATCH] Typos --- documentation/core/error-handling.asciidoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/documentation/core/error-handling.asciidoc b/documentation/core/error-handling.asciidoc index 0b5ec377..eb9dd969 100644 --- a/documentation/core/error-handling.asciidoc +++ b/documentation/core/error-handling.asciidoc @@ -46,14 +46,14 @@ public class ErrorHandler implements HttpHandler { } ---- -The allows you application to handle exceptions in whatever manner you see fit. +This allows your application to handle exceptions in whatever manner you see fit. If the exception propagates out of the handler chain a 500 response code will be set and the exchange can be ended. Default Response Listeners ~~~~~~~~~~~~~~~~~~~~~~~~~~ -Default response listener allow you to generate a default page if the exchange is ended without a response body. These +Default response listeners allow you to generate a default page if the exchange is ended without a response body. These handlers should test for an error response code, and then generate an appropriate error page. Note that these handlers will be run for all requests that terminate with no content, but generating default content for