aspose file tools
The moose likes JSF and the fly likes unwrap from JSF exception Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "unwrap from JSF exception" Watch "unwrap from JSF exception" New topic
Author

unwrap from JSF exception

Joshua Antony
Ranch Hand

Joined: Jun 05, 2006
Posts: 254
I am working on an application that uses JSF in the front end and Spring as service layer.

We have defined 2 types of exception called as ApplicationException and SystemException

Any exception will be wrapped within above exceptions and thrown to the client.

We need to show different error pages for the above 2 exceptions.

We tried using <error-page> in web.xml but it does not work, since our application is wrapped within FacesException and thrown.

What may be the workaround for this?

Regards,
Joshua


SCJP,SCWCD, Into ATG now!
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: unwrap from JSF exception
 
Similar Threads
Exception handling within container managed transactions
IOException in Data idea, pls comment
Beginners question on EJB & transactions
Exception
is CloneNotSupportedException Checked Exception.