[
https://issues.apache.org/jira/browse/OPENEJB-1558?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shawn Jiang updated OPENEJB-1558:
---------------------------------
Summary: Clean up the problems in async code. (was: Clean up exception
handling logic in async.)
> 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
>
>
> 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