org.apache.tapestry
Class StaleSessionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.tapestry.ApplicationRuntimeException
                  extended by org.apache.tapestry.StaleSessionException
All Implemented Interfaces:
Serializable, ILocatable

public class StaleSessionException
extends 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.

Version:
$Id: StaleSessionException.java 243791 2004-02-19 17:38:13Z hlship $
Author:
Howard Lewis Ship
See Also:
Serialized Form

Constructor Summary
StaleSessionException()
           
StaleSessionException(String message, IPage page)
           
 
Method Summary
 IPage getPage()
          Returns the page referenced by the service URL, if known, or null otherwise.
 String getPageName()
           
 
Methods inherited from class org.apache.tapestry.ApplicationRuntimeException
getCause, getComponent, getLocation
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
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(String message,
                             IPage page)
Method Detail

getPageName

public String getPageName()

getPage

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