Ok thanks. Is it possible to detect which page threw the exception? My logic needs to be based on the page that threw the exception as opposed to the type of exception.
-----Original Message----- From: Thiago H. de Paula Figueiredo <thiag...@gmail.com> Reply-to: "Tapestry users" <users@tapestry.apache.org> To: Tapestry users <users@tapestry.apache.org> Subject: Re: Different ExceptionReport for different pages Date: Sun, 17 Jan 2010 16:25:09 -0200 On Sun, 17 Jan 2010 15:41:08 -0200, Richard Hill <r...@su3analytics.com> wrote: > Hi All, Hi! > I have an ExceptionReport.java, .tml to present a pretty error page to > users. However there is one page where I would like to have a different > exception page. Is this possible? Simple answer: you can, but I think it's not worth the hassle. Just use some logic in your error page to show different content to different exceptions. You can also redirect to another page in your ExceptionReport page. Sophisticated answer: override the RequestExceptionHandler service. Draw some inspiration from RequestExceptionHandlerImpl. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org