[jboss-user] [EJB 3.0] - Catching exceptions in a session facade using JSF?

sigjas@gmail.com do-not-reply at jboss.com
Tue May 29 09:52:42 EDT 2007


I am using a stateless session bean facade, calling from a JSF managed bean. How or where should I catch database exceptions? Should they be caught in the session bean? or should they be caught at the calling method?

For example a addObject method within the managed bean. I have had success using 'RuntimeException' but, I would like to display a meaningfull error?

jason

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4049345#4049345

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4049345



More information about the jboss-user mailing list