Re: Exception swallowed in JSF phase class

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

#21002

Yeah, I know this problem. I also got into similar situations a while ago. I think PrettyFaces simply rethrows exceptions from action methods and Mojarra swallows the details. Is this correct?

My workaround was to wrap the action method in a big try-catch block and log all the details there. This way you can find out which exception is thrown and why. You can then catch the specific exception type and display a corresponding message to the user.