[
https://issues.apache.org/jira/browse/OPENEJB-1558?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shawn Jiang updated OPENEJB-1558:
---------------------------------
Attachment: 0007-OPENEJB-1558-Clean-up-exception-handling-logic-in-as.patch
There are some requirements on the exceptions when executing async method:
1, Unchecked exception must be wrapped with EJBExcpetion before being wrraped
with ExecutionException and throwing out.
2, All checked exception should be wrapped with ExecutionException before
throwing out.
the client code could get the root exception with
ExecutionException.getCause();
> Clean up the problems in async code.
> ------------------------------------
>
> Key: OPENEJB-1558
> URL: https://issues.apache.org/jira/browse/OPENEJB-1558
> Project: OpenEJB
> Issue Type: Bug
> Components: ejb31
> Affects Versions: (trunk/openejb3)
> Reporter: Shawn Jiang
> Fix For: 4.0
>
> Attachments:
> 0007-OPENEJB-1558-Clean-up-exception-handling-logic-in-as.patch
>
>
> There are some requirements on the exceptions when executing async method:
> 1, Unchecked exception must be wrapped with EJBExcpetion before being
> wrraped with ExecutionException and throwing out.
> 2, All checked exception should be wrapped with ExecutionException before
> throwing out.
> the client code could get the root exception with
> ExecutionException.getCause();
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira