Re: Exception swallowed in JSF phase class

Splash Forums PrettyFaces Users Exception swallowed in JSF phase class Re: Exception swallowed in JSF phase class

#21007

Well, there are actually a few options you can use:

1. Use Seam Catch – it integrates with JSF and lets you handle exceptions very declaratively (Only an option if you are using CDI or JavaEE 6)

2. Write your own ExceptionHandlerFactory and add it in faces-config.xml, you can override how JSF handles these exceptions, but it’s not the nicest API, so you might say, “What the $#@!?” Quite a few times as you try to extend it.

Hope this helps,

Lincoln