org.apache.beehive.netui.pageflow
Class PageFlowException

Object
  extended by Throwable
      extended by Exception
          extended by RuntimeException
              extended by PageFlowManagedObjectException
                  extended by PageFlowException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ActionNotFoundException, DoubleSubmitException, EmptyNestingStackException, IllegalActionOutputException, IllegalOutputFormException, InfiniteReturnToActionException, MismatchedActionOutputException, MissingActionOutputException, NoMatchingActionMethodException, NotLoggedInException, ReturnToException, SessionExpiredException, UnfulfilledRolesException, UnresolvableForwardException

public abstract class PageFlowException
extends PageFlowManagedObjectException

Base class for PageFlow-related Exceptions.

See Also:
Serialized Form

Constructor Summary
protected PageFlowException(String actionName, FlowController fc)
           
protected PageFlowException(String actionName, FlowController fc, Throwable cause)
           
 
Method Summary
abstract  boolean causeMayBeSessionExpiration()
           
 String getActionName()
          Get the name of the action associated with this exception.
 FlowController getFlowController()
          Get the related FlowController.
 String getFlowControllerURI()
          Get the name of the related FlowController.
protected  void init(String actionName)
           
 
Methods inherited from class PageFlowManagedObjectException
getLocalizedMessage, getManagedObject, getMessage, getMessageArgs, getMessageParts, 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

PageFlowException

protected PageFlowException(String actionName,
                            FlowController fc)

PageFlowException

protected PageFlowException(String actionName,
                            FlowController fc,
                            Throwable cause)
Method Detail

init

protected void init(String actionName)

getFlowController

public FlowController getFlowController()
Get the related FlowController.

Returns:
the FlowController associated with this exception.

getFlowControllerURI

public String getFlowControllerURI()
Get the name of the related FlowController.

Returns:
the class name of the FlowController associated with this exception.

getActionName

public String getActionName()
Get the name of the action associated with this exception.

Returns:
a String that is the name of the action associated with this exception.

causeMayBeSessionExpiration

public abstract boolean causeMayBeSessionExpiration()