org.apache.beehive.netui.pageflow
Class NoCurrentPageFlowException
Object
Throwable
Exception
RuntimeException
PageFlowManagedObjectException
PageFlowException
ReturnToException
NoCurrentPageFlowException
- All Implemented Interfaces:
- Serializable
public class NoCurrentPageFlowException
- extends ReturnToException
Exception that occurs when the
navigateTo=previousAction,
navigateTo=currentPage, or
navigateTo=previousPage
attribute is used on a @Jpf.Forward, a
@Jpf.SimpleAction, or a
@Jpf.ConditionalForward,
but there is no current page flow. This may happen when the user session expires, or when the web application has
been redeployed.
- See Also:
- Serialized Form
|
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. |
protected String[] |
getMessageParts()
|
| Methods inherited from class ReturnToException |
getMessageArgs, getReturnToType |
| 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 |
NoCurrentPageFlowException
public NoCurrentPageFlowException(String actionName,
Forward fwd)
getMessageParts
protected String[] getMessageParts()
- Specified by:
getMessageParts in class ReturnToException
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
true.
- Overrides:
causeMayBeSessionExpiration in class ReturnToException