How to display your own exception page

As of T5.0.5 it's not documented yet but Tapestry's "ExceptionReport" page is what you have to override. It's mentioned here (or check the T5 source).

Simply create your own page named ExceptionReport which implements the ExceptionReporter interface.

Here's an example ...

package yourapp.tapestry.pages;


public class ExceptionReport implements ExceptionReporter
    private String error;

    public void reportException(Throwable exception)
        error = exception.getLocalizedMessage();

    public String getError()
        return error;


<html xmlns:t="" >
        Error: ${error}

Tapestry5ExceptionPage (last edited 2009-09-20 23:20:04 by localhost)