org.apache.tapestry
Class StaleLinkException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--org.apache.tapestry.ApplicationRuntimeException
|
+--org.apache.tapestry.StaleLinkException
- All Implemented Interfaces:
- ILocatable, Serializable
- public class StaleLinkException
- extends ApplicationRuntimeException
Exception thrown by an IEngineService
when it discovers that
the an action link was for an out-of-date version of the page.
The application should redirect to the StaleLink page.
- Version:
- $Id: StaleLinkException.java,v 1.4 2003/05/28 13:41:38 hlship Exp $
- Author:
- Howard Lewis Ship
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
StaleLinkException
public StaleLinkException()
StaleLinkException
public StaleLinkException(IComponent component,
String targetActionId,
String targetIdPath)
- Constructor used when the action id is found, but the target id path
did not match the actual id path.
StaleLinkException
public StaleLinkException(IPage page,
String targetActionId,
String targetIdPath)
- Constructor used when the target action id is not found.
StaleLinkException
public StaleLinkException(String message,
IComponent component)
StaleLinkException
public StaleLinkException(String message,
IPage page)
getPageName
public String getPageName()
getPage
public IPage getPage()
- Returns the page referenced by the service URL, if known,
or null otherwise.
getTargetActionId
public String getTargetActionId()
getTargetIdPath
public String getTargetIdPath()