org.apache.tapestry.error
Class StaleLinkExceptionPresenterImpl
java.lang.Object
org.apache.tapestry.error.StaleLinkExceptionPresenterImpl
- All Implemented Interfaces:
- StaleLinkExceptionPresenter
public class StaleLinkExceptionPresenterImpl
- extends 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)
throws IOException
- 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
- Throws:
IOException
setPageName
public void setPageName(String pageName)
setResponseRenderer
public void setResponseRenderer(ResponseRenderer responseRenderer)
Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.