org.apache.beehive.netui.pageflow
Class EmptyNestingStackException

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

public class EmptyNestingStackException
extends PageFlowException

Exception that occurs when the user invokes an action in a nested page flow that uses a @Jpf.Forward(... returnAction="action-name-in-calling-pageflow") annotation, but there is no calling page flow. This can happen in iterative development mode when you have modified files and caused the web application to be redeployed, or when the session expires.

See Also:
Serialized Form

Constructor Summary
EmptyNestingStackException(String actionName, FlowController fc)
           
 
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  Object[] getMessageArgs()
           
protected  String[] getMessageParts()
           
 
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

EmptyNestingStackException

public EmptyNestingStackException(String actionName,
                                  FlowController fc)
Method Detail

getMessageArgs

protected Object[] getMessageArgs()
Specified by:
getMessageArgs in class PageFlowManagedObjectException

getMessageParts

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

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.

Specified by:
causeMayBeSessionExpiration in class PageFlowException