org.apache.beehive.netui.pageflow
Class IllegalOutputFormException

Object
  extended by Throwable
      extended by Exception
          extended by RuntimeException
              extended by PageFlowManagedObjectException
                  extended by PageFlowException
                      extended by IllegalOutputFormException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
IllegalOutputFormTypeException, IllegalRedirectOutputFormException

public abstract class IllegalOutputFormException
extends PageFlowException

Base type for errors related to output forms on Forwards.

See Also:
Forward.addOutputForm(java.lang.Object), Serialized Form

Constructor Summary
IllegalOutputFormException(String forwardName, String actionName, FlowController flowController, String outputFormType)
           
 
Method Summary
 boolean causeMayBeSessionExpiration()
           
 String getForwardName()
          Get the name of the relevant Forward.
 String getOutputFormType()
          Get the type name of the relevant output form.
 void setForwardName(String forwardName)
          Set the name of the relevant Forward.
 void setOutputFormType(String outputFormType)
          Set the type name of the relevant output form.
 
Methods inherited from class PageFlowException
getActionName, getFlowController, getFlowControllerURI, init
 
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

IllegalOutputFormException

public IllegalOutputFormException(String forwardName,
                                  String actionName,
                                  FlowController flowController,
                                  String outputFormType)
Parameters:
forwardName - the name of the relevant Forward.
actionName - the name of the current action being run.
flowController - the current FlowController instance.
outputFormType - the type name of the relevant output form.
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.

getOutputFormType

public String getOutputFormType()
Get the type name of the relevant output form.

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

setOutputFormType

public void setOutputFormType(String outputFormType)
Set the type name of the relevant output form.

Parameters:
outputFormType - a String that is the type name of the relevant output form.

causeMayBeSessionExpiration

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