org.apache.beehive.netui.pageflow
Class NoPreviousActionException

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

public class NoPreviousActionException
extends ReturnToException

Exception that occurs when the user attempts to execute an action marked with the @jpf:forward return-to="previousAction" annotation, but there is no previously-run action. For example, this could happen if the begin action returns a @jpf:forward marked return-to="previousAction".

See Also:
Serialized Form

Constructor Summary
NoPreviousActionException(String actionName, Forward fwd, FlowController fc)
           
 
Method Summary
protected  String[] getMessageParts()
           
 
Methods inherited from class ReturnToException
causeMayBeSessionExpiration, 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

NoPreviousActionException

public NoPreviousActionException(String actionName,
                                 Forward fwd,
                                 FlowController fc)
Method Detail

getMessageParts

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