Hi-

I have a PhaseListener that does some business logic.  If there is a RuntimeException, I want to automatically redirect to my error page.  With my PhaseListener, if it throws a RuntimeException, the exception is swallowed and logged in PhaseListenerManager.informPhaseListenersAfter(...).  

What is the best way to redirect all such errors to the error page?  In standard Servlets land, you just declare the exception and the error page in the web.xml file.  That is done once, and it works for the entire web-app.  Is there another way to support this in JSF with PhaseListeners?

Thanks,

Adam Brod

Product Development Team

Disclaimer: This electronic mail and any attachments are confidential and may be privileged. If you are not the intended recipient, please notify the sender immediately by replying to this email, and destroy all copies of this email and any attachments. Thank you.


Reply via email to