org.apache.beehive.netui.pageflow
Class MismatchedActionOutputException

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

public class MismatchedActionOutputException
extends PageFlowException

Exception that occurs in iterative development mode when an action output attached to a Forward is of a different type than was declared.

See Also:
Serialized Form

Constructor Summary
MismatchedActionOutputException(String actionName, FlowController flowController, String actionOutputName, String forwardName, String expectedType, String actualType)
           
 
Method Summary
 boolean causeMayBeSessionExpiration()
           
 String getActionOutputName()
           
 String getActualType()
           
 String getExpectedType()
           
 String getForwardName()
           
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

MismatchedActionOutputException

public MismatchedActionOutputException(String actionName,
                                       FlowController flowController,
                                       String actionOutputName,
                                       String forwardName,
                                       String expectedType,
                                       String actualType)
Method Detail

getMessageArgs

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

getMessageParts

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

getActionOutputName

public String getActionOutputName()

getForwardName

public String getForwardName()

getExpectedType

public String getExpectedType()

getActualType

public String getActualType()

causeMayBeSessionExpiration

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