You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Andy Pahne <an...@googlemail.com> on 2008/12/15 15:54:50 UTC

[T5] onException event

I am using T 5.0.18. In my page class I have an method to catch exceptions:

    public Object onException(Throwable cause) {

        LOG.info("onException(Throwable cause); cause instanceof " + 
cause.getClass());

        if(cause instanceof OnRequestOnlyException) {
            return onRequestOnly;
        }

        return null;

    }


The method is never called.


Is this feature currently broken?


Andy




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