com.primix.tapestry
Class StaleLinkException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.primix.tapestry.RequestCycleException
                    |
                    +--com.primix.tapestry.StaleLinkException
All Implemented Interfaces:
java.io.Serializable

public class StaleLinkException
extends RequestCycleException

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.9 2001/06/19 20:32:30 hship Exp $
Author:
Howard Ship
See Also:
Serialized Form

Constructor Summary
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)
           
StaleLinkException(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 com.primix.tapestry.RequestCycleException
getComponent, getRootCause
 
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
 

Constructor Detail

StaleLinkException

public StaleLinkException()

StaleLinkException

public 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

public StaleLinkException(IPage page,
                          java.lang.String targetActionId,
                          java.lang.String targetIdPath)
Constructor used when the target action id is not found.

StaleLinkException

public StaleLinkException(java.lang.String message,
                          IComponent component)

StaleLinkException

public StaleLinkException(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.