i'm puzzled of the EJB behavior i'm encountering. I have an EJB(session) that access a DAO. I have two methods in the DAO, that update and query a table. I tried to put error on the DAO's two methods. Upon calling the update method from the EJB, the container throws an EJBException which is i intended to. But calling the query method from the EJB it does not throw an EJBException.
Is it possible for the LogInterceptor to catch both errors.