Tynamo.org has an excellent tapestry-exceptionpage module just for this purpose 
as well. 



On Aug 20, 2012, at 10:09 AM, Yunhua Sang <yunhua.s...@gmail.com> wrote:

> Hi there,
> 
> Tapestry version: 5.3.3
> 
> How to catch the exceptions thrown by the event handler?
> 
> e.g.:
>            try {
>                resources.triggerEvent("anEvent", new Object[]{}, null);
>            } catch (Exception e) {
>                logger.error("Error occurred.", e);
>                form.recordError(e.getMessage());
>            }
> But seems that the catch parts never get executed, T5 just redirects the
> request to the exception page.
> 
> Thanks,
> Yunhua

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to