mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-10-01 19:59:03 +00:00
Clarify ServletException is thrown when no view is resolved (SPR-7339)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3530 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
@@ -2027,9 +2027,9 @@ public class TimeBasedAccessInterceptor extends HandlerInterceptorAdapter {
|
||||
|
||||
<para>If a specific view resolver does not result in a view, Spring
|
||||
examines the context for other view resolvers. If additional view
|
||||
resolvers exist, Spring continues to inspect them. <!--So what happens after Spring inspects them?-->If
|
||||
they do not exist, Spring throws an
|
||||
<classname>Exception</classname>.</para>
|
||||
resolvers exist, Spring continues to inspect them until a view is
|
||||
resolved. If no view resolver returns a view, Spring throws a
|
||||
<classname>ServletException</classname>.</para>
|
||||
|
||||
<para>The contract of a view resolver specifies that a view resolver
|
||||
<emphasis>can</emphasis> return null to indicate the view could not be
|
||||
|
||||
Reference in New Issue
Block a user