Interface RequestExceptionHandler

    • Method Detail

      • handleRequestException

        void handleRequestException​(Throwable exception)
                             throws IOException
        Responsible for handling the error in some way and providing some response to the client. A default implementation may render an error response page. The handler is also responsible for setting the response status and the X-Tapestry-ErrorMessage response header. These are very important in Ajax requests to allow the client-side logic to detect the error and present it to the user.
        Parameters:
        exception - uncaught exception to be reported
        Throws:
        IOException