org.apache.beehive.netui.pageflow
Class NoMatchingActionMethodException

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

public class NoMatchingActionMethodException
extends PageFlowException

Exception that occurs when the current action method does not accept the type of form bean passed in the Forward to the action. This may happen when control is returned from a nested page flow, with a specified form bean type (outputFormBean or outputFormBeanType set on @Jpf.Forward, @Jpf.SimpleAction, or @Jpf.ConditionalForward) but no action in the calling page flow accepts that form bean type.

See Also:
Serialized Form

Constructor Summary
NoMatchingActionMethodException(String actionName, Object form, FlowController fc)
           
 
Method Summary
 boolean causeMayBeSessionExpiration()
          Tell whether the root cause may be session expiration in cases where the requested session ID is different than the actual session ID.
 String getFormClassName()
           
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

NoMatchingActionMethodException

public NoMatchingActionMethodException(String actionName,
                                       Object form,
                                       FlowController fc)
Method Detail

getFormClassName

public String getFormClassName()

getMessageArgs

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

getMessageParts

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

causeMayBeSessionExpiration

public boolean causeMayBeSessionExpiration()
Tell whether the root cause may be session expiration in cases where the requested session ID is different than the actual session ID. In this case, the answer is false.

Specified by:
causeMayBeSessionExpiration in class PageFlowException