org.apache.beehive.netui.pageflow
Class NoCurrentPageFlowException

Object
  extended by Throwable
      extended by Exception
          extended by RuntimeException
              extended by PageFlowManagedObjectException
                  extended by PageFlowException
                      extended by ReturnToException
                          extended by NoCurrentPageFlowException
All Implemented Interfaces:
Serializable

public class NoCurrentPageFlowException
extends ReturnToException

Exception that occurs when the navigateTo=previousAction, navigateTo=currentPage, or navigateTo=previousPage attribute is used on a @Jpf.Forward, a @Jpf.SimpleAction, or a @Jpf.ConditionalForward, but there is no current page flow. This may happen when the user session expires, or when the web application has been redeployed.

See Also:
Serialized Form

Constructor Summary
NoCurrentPageFlowException(String actionName, Forward fwd)
           
 
Method Summary
 boolean causeMayBeSessionExpiration()
          Tell whether the root cause may be session expiration in cases where the requested session ID is different than the actual session ID.
protected  String[] getMessageParts()
           
 
Methods inherited from class ReturnToException
getMessageArgs, getReturnToType
 
Methods inherited from class PageFlowException
getActionName, getFlowController, getFlowControllerURI, init
 
Methods inherited from class PageFlowManagedObjectException
getLocalizedMessage, getManagedObject, getMessage, init, printError, sendError, setManagedObject
 
Methods inherited from class Throwable
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NoCurrentPageFlowException

public NoCurrentPageFlowException(String actionName,
                                  Forward fwd)
Method Detail

getMessageParts

protected String[] getMessageParts()
Specified by:
getMessageParts in class ReturnToException

causeMayBeSessionExpiration

public boolean causeMayBeSessionExpiration()
Tell whether the root cause may be session expiration in cases where the requested session ID is different than the actual session ID. In this case, the answer is true.

Overrides:
causeMayBeSessionExpiration in class ReturnToException