public class StaleLinkExceptionPresenterImpl extends java.lang.Object implements StaleLinkExceptionPresenter
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.Constructor and Description |
---|
StaleLinkExceptionPresenterImpl() |
Modifier and Type | Method and Description |
---|---|
void |
presentStaleLinkException(IRequestCycle cycle,
StaleLinkException cause)
Reports the stale link exception.
|
void |
setPageName(java.lang.String pageName) |
void |
setResponseRenderer(ResponseRenderer responseRenderer) |
public StaleLinkExceptionPresenterImpl()
public void presentStaleLinkException(IRequestCycle cycle, StaleLinkException cause) throws java.io.IOException
StaleLinkExceptionPresenter
presentStaleLinkException
in interface StaleLinkExceptionPresenter
cycle
- the current request cyclecause
- the exception that was caughtjava.io.IOException
public void setPageName(java.lang.String pageName)
public void setResponseRenderer(ResponseRenderer responseRenderer)