Hi,
I have a simple Stateless bean with a method that persists an entity. There is a
JSF bean client using this method. I have declared "throws EJBException" in the stateless
EJB and I catch that exception in JSF managed bean(client). The problem is that even if I am catching the EJB exception in my JSF managed bean, the container still prints out stack trace. Here is the code for ejb and jsf managed bean.
Stateless ejb - StateManager
JSF managed bean - StateBean
In the above code, if a PersistenceException is raised it is wrapped in EJBException as per ejb specs. Although this does happen, I still get stack trace in my server log. Any idea why I get a stack trace in server log.
regards,
Nirvan.