org.apache.tapestry.services
Interface RequestExceptionHandler

All Known Implementing Classes:
DefaultRequestExceptionHandler

public interface RequestExceptionHandler

Service invoked when an uncaught exception occurs. The error handler is responsible for providing a response to the user to describe the error.


Method Summary
 void handleRequestException(Throwable exception)
          Reponsible for handling the error in some way and providing some response to the client.
 

Method Detail

handleRequestException

void handleRequestException(Throwable exception)
                            throws IOException
Reponsible for handling the error in some way and providing some response to the client. A default implementation may render an error response page.

Parameters:
exception - uncaught exception to be reported
Throws:
IOException


Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.