public class StaleLinkException extends org.apache.hivemind.ApplicationRuntimeException
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.
Constructor and Description |
---|
StaleLinkException() |
StaleLinkException(IComponent component,
java.lang.String targetActionId,
java.lang.String targetIdPath)
Constructor used when the action id is found, but the target id path
did not match the actual id path.
|
StaleLinkException(IPage page,
java.lang.String targetActionId,
java.lang.String targetIdPath)
Constructor used when the target action id is not found.
|
StaleLinkException(java.lang.String message,
IComponent component) |
Modifier and Type | Method and Description |
---|---|
IPage |
getPage()
Returns the page referenced by the service URL, if known,
or null otherwise.
|
java.lang.String |
getPageName() |
java.lang.String |
getTargetActionId() |
java.lang.String |
getTargetIdPath() |
getCause, getComponent, getLocation, getRootCause, toString
public StaleLinkException()
public StaleLinkException(IComponent component, java.lang.String targetActionId, java.lang.String targetIdPath)
public StaleLinkException(IPage page, java.lang.String targetActionId, java.lang.String targetIdPath)
public StaleLinkException(java.lang.String message, IComponent component)
public java.lang.String getPageName()
public IPage getPage()
public java.lang.String getTargetActionId()
public java.lang.String getTargetIdPath()