Should unchecked, but declared exceptions get wrapped in EJBException? The spec is a little vague on the subject.
It would seem logical and beneficial to have any unchecked exception that is explicitly stated in the throws clause of a business method be considered an application exception, and not wrapped in an EJBException. The current behavior in 4.0.5 seems to be to wrap in an EJBException, all unchecked exceptions thrown that are not directly annotated with @ApplicationException, or are not included in an application-exception deployment element. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037735#4037735 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037735 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user