public class ExceptionPresenterImpl extends java.lang.Object implements ExceptionPresenter
Constructor and Description |
---|
ExceptionPresenterImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
isVerbose() |
void |
presentException(IRequestCycle cycle,
java.lang.Throwable cause)
Report the exception and provide some response to the user in lieu of the expected result
page.
|
void |
setExceptionPageName(java.lang.String exceptionPageName) |
void |
setRequestExceptionReporter(RequestExceptionReporter requestExceptionReporter) |
void |
setResponseRenderer(ResponseRenderer responseRenderer) |
void |
setVerbose(boolean verbose) |
public ExceptionPresenterImpl()
public void presentException(IRequestCycle cycle, java.lang.Throwable cause)
ExceptionPresenter
presentException
in interface ExceptionPresenter
cycle
- the current request cyclecause
- the exception that was caughtpublic void setExceptionPageName(java.lang.String exceptionPageName)
public void setRequestExceptionReporter(RequestExceptionReporter requestExceptionReporter)
public void setResponseRenderer(ResponseRenderer responseRenderer)
public boolean isVerbose()
public void setVerbose(boolean verbose)