org.apache.tapestry.error
Class ExceptionPresenterImpl

java.lang.Object
  extended by org.apache.tapestry.error.ExceptionPresenterImpl
All Implemented Interfaces:
ExceptionPresenter

public class ExceptionPresenterImpl
extends Object
implements ExceptionPresenter

Since:
4.0
Author:
Howard M. Lewis Ship

Constructor Summary
ExceptionPresenterImpl()
           
 
Method Summary
 boolean isVerbose()
           
 void presentException(IRequestCycle cycle, Throwable cause)
          Report the exception and provide some response to the user in lieu of the expected result page.
 void setExceptionPageName(String exceptionPageName)
           
 void setRequestExceptionReporter(RequestExceptionReporter requestExceptionReporter)
           
 void setResponseRenderer(ResponseRenderer responseRenderer)
           
 void setVerbose(boolean verbose)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExceptionPresenterImpl

public ExceptionPresenterImpl()
Method Detail

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 cycle
cause - 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.