On hindsight this is completely out of style with the current implementation.
For now ithe implementation should be:
EJBContainer:
boolean isApplicationException(Exception e) {
| return hasAnnotation(e, ApplicationException.class);
| }
Ejb3DescriptorHandler:
void addApplicationException(...) {
| 'scan assembly descriptor and addAnnotation'
| }
See addAssemblyAnnotations.
The EJBContainer.isApplicationException will always be the supported API.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4107270#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...