org.apache.beehive.netui.pageflow
Class IllegalActionOutputException

Object
  extended by Throwable
      extended by Exception
          extended by RuntimeException
              extended by PageFlowManagedObjectException
                  extended by PageFlowException
                      extended by IllegalActionOutputException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
IllegalPageInputException

public class IllegalActionOutputException
extends PageFlowException

Exception that occurs when an action output has been added to a Forward that resolves to a @jpf:forward marked redirect="true". Action outputs may not be used on redirect forwards.

See Also:
Serialized Form

Constructor Summary
IllegalActionOutputException(String forwardName, String actionName, FlowController flowController, String actionOutputName)
          Constructor.
 
Method Summary
 boolean causeMayBeSessionExpiration()
           
 String getActionOutputName()
          Get the name of the relevant action output.
 String getForwardName()
          Get the name of the relevant Forward.
protected  Object[] getMessageArgs()
           
 String[] getMessageParts()
           
 void setActionOutputName(String actionOutputName)
          Set the name of the relevant action output.
 void setForwardName(String forwardName)
          Set the name of the relevant Forward.
 
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

IllegalActionOutputException

public IllegalActionOutputException(String forwardName,
                                    String actionName,
                                    FlowController flowController,
                                    String actionOutputName)
Constructor.

Parameters:
forwardName - the name of the relevant Forward.
actionName - the name of the current action being run.
flowController - the current FlowController instance.
actionOutputName - the name of the relevant action output.
Method Detail

getForwardName

public String getForwardName()
Get the name of the relevant Forward.

Returns:
a String that is the name of the relevant Forward.

setForwardName

public void setForwardName(String forwardName)
Set the name of the relevant Forward.

Parameters:
forwardName - a String that is the name of the relevant Forward.

getActionOutputName

public String getActionOutputName()
Get the name of the relevant action output.

Returns:
a String that is the name of the relevant action output.

setActionOutputName

public void setActionOutputName(String actionOutputName)
Set the name of the relevant action output.

Parameters:
actionOutputName - a String that is the name of the relevant action output.

getMessageArgs

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

getMessageParts

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

causeMayBeSessionExpiration

public boolean causeMayBeSessionExpiration()
Specified by:
causeMayBeSessionExpiration in class PageFlowException