org.apache.tapestry.error
Class StaleLinkExceptionPresenterImpl
java.lang.Object
org.apache.tapestry.error.StaleLinkExceptionPresenterImpl
- All Implemented Interfaces:
- StaleLinkExceptionPresenter
- public class StaleLinkExceptionPresenterImpl
- extends java.lang.Object
- implements StaleLinkExceptionPresenter
Implementation of StaleLinkExceptionPresenter
that uses a page
to present the exception. The page must implement a property named "message" of type String and
should present that message to the user.
- Since:
- 4.0
- Author:
- Howard M. Lewis Ship
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StaleLinkExceptionPresenterImpl
public StaleLinkExceptionPresenterImpl()
presentStaleLinkException
public void presentStaleLinkException(IRequestCycle cycle,
StaleLinkException cause)
- Description copied from interface:
StaleLinkExceptionPresenter
- Reports the stale link exception.
- Specified by:
presentStaleLinkException
in interface StaleLinkExceptionPresenter
- Parameters:
cycle
- the current request cyclecause
- the exception that was caught
setPageName
public void setPageName(java.lang.String pageName)
setRequestExceptionReporter
public void setRequestExceptionReporter(RequestExceptionReporter requestExceptionReporter)
setResponseRenderer
public void setResponseRenderer(ResponseRenderer responseRenderer)