org.jasig.cas.web
Class NoSuchFlowExecutionExceptionResolver

java.lang.Object
  extended by org.jasig.cas.web.NoSuchFlowExecutionExceptionResolver
All Implemented Interfaces:
org.springframework.web.servlet.HandlerExceptionResolver

public final class NoSuchFlowExecutionExceptionResolver
extends java.lang.Object
implements org.springframework.web.servlet.HandlerExceptionResolver

The NoSuchFlowExecutionResolver catches the NoSuchFlowExecutionException thrown by Spring Webflow when the given flow id no longer exists. This can occur if a particular flow has reached an end state (the id is no longer valid)

It will redirect back to the requested URI which should start a new workflow.

Since:
3.0
Version:
$Revision: 48180 $ $Date: 2010-03-14 00:05:58 -0500 (Sun, 14 Mar 2010) $
Author:
Scott Battaglia

Constructor Summary
NoSuchFlowExecutionExceptionResolver()
           
 
Method Summary
 org.springframework.web.servlet.ModelAndView resolveException(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.Object handler, java.lang.Exception exception)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoSuchFlowExecutionExceptionResolver

public NoSuchFlowExecutionExceptionResolver()
Method Detail

resolveException

public org.springframework.web.servlet.ModelAndView resolveException(javax.servlet.http.HttpServletRequest request,
                                                                     javax.servlet.http.HttpServletResponse response,
                                                                     java.lang.Object handler,
                                                                     java.lang.Exception exception)
Specified by:
resolveException in interface org.springframework.web.servlet.HandlerExceptionResolver


Copyright © 2004-2010 Java Architectures Special Interest Group. All Rights Reserved.