Is there a preferred way/pattern of handling application exceptions in a
tapestry application.
For example, I have a page, AuthorizationFailure.html which I want to
display when a javax.ejb.EJBAccessException is thrown from the ejb
layer, with a custom message etc.

At the moment I'm plugging in my own ExceptionPresenter which sniffs out
the root cause and delegates to a handler, defaulting to the exception
page when a specific handler can't be found.  But I'm wondering if I'm
missing anything.  Perhaps there are exception handler base classes that
I can use? Or perhaps I can configure an exception presenter for a
specific type of exception? 

Cheers

-- 
Justin Walsh 
http://www.ewage.co.za


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to