org.apache.tapestry
Class StaleSessionException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.apache.hivemind.ApplicationRuntimeException
                  extended byorg.apache.tapestry.StaleSessionException
All Implemented Interfaces:
org.apache.hivemind.Locatable, java.io.Serializable

public class StaleSessionException
extends org.apache.hivemind.ApplicationRuntimeException

Exception thrown by an IEngineService when it discovers that the HttpSession has timed out (and been replaced by a new, empty one).

The application should redirect to the stale-session page.

Author:
Howard Lewis Ship
See Also:
Serialized Form

Constructor Summary
StaleSessionException()
           
StaleSessionException(java.lang.String message, IPage page)
           
 
Method Summary
 IPage getPage()
          Returns the page referenced by the service URL, if known, or null otherwise.
 java.lang.String getPageName()
           
 
Methods inherited from class org.apache.hivemind.ApplicationRuntimeException
getCause, getComponent, getLocation, getRootCause, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StaleSessionException

public StaleSessionException()

StaleSessionException

public StaleSessionException(java.lang.String message,
                             IPage page)
Method Detail

getPageName

public java.lang.String getPageName()

getPage

public IPage getPage()
Returns the page referenced by the service URL, if known, or null otherwise.