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

Reply via email to