org.apache.tapestry.error
Class ExceptionPresenterImpl
java.lang.Object
org.apache.tapestry.error.ExceptionPresenterImpl
- All Implemented Interfaces:
- ExceptionPresenter
- public class ExceptionPresenterImpl
- extends java.lang.Object
- implements ExceptionPresenter
- 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 |
ExceptionPresenterImpl
public ExceptionPresenterImpl()
presentException
public void presentException(IRequestCycle cycle,
java.lang.Throwable cause)
- Description copied from interface:
ExceptionPresenter
- Report the exception and provide some response to the user in lieu of the expected result
page.
- Specified by:
presentException
in interface ExceptionPresenter
- Parameters:
cycle
- the current request cyclecause
- the exception that was caught
setExceptionPageName
public void setExceptionPageName(java.lang.String exceptionPageName)
setRequestExceptionReporter
public void setRequestExceptionReporter(RequestExceptionReporter requestExceptionReporter)
setResponseRenderer
public void setResponseRenderer(ResponseRenderer responseRenderer)
isVerbose
public boolean isVerbose()
setVerbose
public void setVerbose(boolean verbose)