[ 
https://issues.apache.org/jira/browse/OPENEJB-1558?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Blevins resolved OPENEJB-1558.
------------------------------------

    Resolution: Fixed
      Assignee: Shawn Jiang

> 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
>            Assignee: Shawn Jiang
>             Fix For: 4.0
>
>         Attachments: 
> 0004-don-t-copy-the-returned-aync-method-return-value-for.patch, 
> 0005-EJB31-spec-3.4.8.1-Asynchronous-methods-have-a-retur.patch, 
> 0006-Throw-NoSuchEJBException-instead-of-NoSuchObjectExce.patch, 
> 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

        

Reply via email to