From 76bcfb23108cab0a8527aa5ad97cb790dc70e0fb Mon Sep 17 00:00:00 2001 From: Arjen Poutsma Date: Fri, 27 Mar 2009 16:26:31 +0000 Subject: [PATCH] Javadoc git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@849 50f2f4bb-b051-0410-bef5-90022cba6387 --- .../springframework/web/servlet/HandlerExceptionResolver.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/org.springframework.web.servlet/src/main/java/org/springframework/web/servlet/HandlerExceptionResolver.java b/org.springframework.web.servlet/src/main/java/org/springframework/web/servlet/HandlerExceptionResolver.java index 7b843335c76..e21e1b5f15a 100644 --- a/org.springframework.web.servlet/src/main/java/org/springframework/web/servlet/HandlerExceptionResolver.java +++ b/org.springframework.web.servlet/src/main/java/org/springframework/web/servlet/HandlerExceptionResolver.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2007 the original author or authors. + * Copyright 2002-2009 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -36,6 +36,8 @@ public interface HandlerExceptionResolver { /** * Try to resolve the given exception that got thrown during on handler execution, * returning a ModelAndView that represents a specific error page if appropriate. + *

The returned ModelAndView may be {@linkplain ModelAndView#isEmpty() empty} to indicate that the exception has + * been resolved successfully, but that no view should be rendered, for instance by setting a status code. * @param request current HTTP request * @param response current HTTP response * @param handler the executed handler, or null if none chosen at the