com.primix.tapestry
Class StaleSessionException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--com.primix.tapestry.RequestCycleException
|
+--com.primix.tapestry.StaleSessionException
- All Implemented Interfaces:
- java.io.Serializable
- public class StaleSessionException
- extends RequestCycleException
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,v 1.6 2001/05/02 14:15:15 hship Exp $
- Author:
- Howard Ship
- See Also:
- Serialized Form
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 java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
StaleSessionException
public StaleSessionException()
StaleSessionException
public StaleSessionException(java.lang.String message,
IPage page)
getPageName
public java.lang.String getPageName()
getPage
public IPage getPage()
- Returns the page referenced by the service URL, if known, or null otherwise.