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

Panu Hämäläinen updated DOSGI-254:
----------------------------------
    Description: 
If a remote service interface is composed of an interface hierarchy, the 
ServiceInvocationHandler (in org.apache.cxf.dosgi.dsw.handlers package)  only 
handles correctly the checked exceptions of the interface the service directly 
implements (the lowest level interface of the hierarchy). The checked 
exceptions of the super-interface methods are thrown as generic 
ServiceExceptions (which is are RuntimeExceptions). 

I have been using DOSGi 1.7.0 but I also checked version 2.0.0 and 
ServiceInvocationHandler (now in org.apache.cxf.dosgi.common.proxy package) 
seems the same as in previous releases.

  was:
If a remote service interface is composed of an interface hierarchy, the 
ServiceInvocationHandler (in org.apache.cxf.dosgi.dsw.handlers package)  only 
handles correctly the checked exceptions of the interface the service directly 
implements (the lowest level interface of the hierarchy). The checked 
exceptions of the super-interface methods are thrown as generic 
ServiceExceptions (which is a RuntimeException). 

I have been using DOSGi 1.7.0 but I also checked version 2.0.0 and 
ServiceInvocationHandler (now in org.apache.cxf.dosgi.common.proxy package) 
seems the same as in previous releases.


> ServiceInvocationHandler does not handle checked super-interface exceptions 
> correctly
> -------------------------------------------------------------------------------------
>
>                 Key: DOSGI-254
>                 URL: https://issues.apache.org/jira/browse/DOSGI-254
>             Project: CXF Distributed OSGi
>          Issue Type: Bug
>          Components: DSW
>    Affects Versions: 2.0.0
>            Reporter: Panu Hämäläinen
>
> If a remote service interface is composed of an interface hierarchy, the 
> ServiceInvocationHandler (in org.apache.cxf.dosgi.dsw.handlers package)  only 
> handles correctly the checked exceptions of the interface the service 
> directly implements (the lowest level interface of the hierarchy). The 
> checked exceptions of the super-interface methods are thrown as generic 
> ServiceExceptions (which is are RuntimeExceptions). 
> I have been using DOSGi 1.7.0 but I also checked version 2.0.0 and 
> ServiceInvocationHandler (now in org.apache.cxf.dosgi.common.proxy package) 
> seems the same as in previous releases.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to