org.apache.tapestry.error
Class ExceptionPresenterImpl
java.lang.Object
org.apache.tapestry.error.ExceptionPresenterImpl
- All Implemented Interfaces:
- ExceptionPresenter
public class ExceptionPresenterImpl
- extends 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,
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(String exceptionPageName)
setRequestExceptionReporter
public void setRequestExceptionReporter(RequestExceptionReporter requestExceptionReporter)
setResponseRenderer
public void setResponseRenderer(ResponseRenderer responseRenderer)
isVerbose
public boolean isVerbose()
setVerbose
public void setVerbose(boolean verbose)
Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.