public class DefaultRequestExceptionHandler extends Object implements RequestExceptionHandler
RequestExceptionHandler
that displays the standard ExceptionReport page. The page
must implement the ExceptionReporter
interface.Constructor and Description |
---|
DefaultRequestExceptionHandler(RequestPageCache pageCache,
PageResponseRenderer renderer,
org.slf4j.Logger logger,
String pageName,
Response response) |
Modifier and Type | Method and Description |
---|---|
void |
handleRequestException(Throwable exception)
Reponsible for handling the error in some way and providing some response to the client.
|
public DefaultRequestExceptionHandler(RequestPageCache pageCache, PageResponseRenderer renderer, org.slf4j.Logger logger, @Symbol(value="tapestry.exception-report-page") String pageName, Response response)
public void handleRequestException(Throwable exception) throws IOException
RequestExceptionHandler
handleRequestException
in interface RequestExceptionHandler
exception
- uncaught exception to be reportedIOException
Copyright © 2003-2012 The Apache Software Foundation.