You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "zhulei (JIRA)" <de...@tuscany.apache.org> on 2009/02/13 15:22:00 UTC

[jira] Updated: (TUSCANY-2779) The problem of catch spring implementation's Exception

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

zhulei updated TUSCANY-2779:
----------------------------

    Fix Version/s:     (was: Java-SCA-1.4)

> The problem of catch spring implementation's Exception
> ------------------------------------------------------
>
>                 Key: TUSCANY-2779
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2779
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Spring Implementation Extension
>    Affects Versions: Java-SCA-1.4
>         Environment: SuSE Linux 10.3 for PPC IBM JDK 1.6
>            Reporter: zhulei
>
> I find that I can not catch the Exception message when I test the spring implementation recently.
> I try to recode the source code as It's very important for me. I find a bug in it and revise it. I success.
> the code of org.apache.tuscany.sca.implementation.spring.SpringInvoker.doInvoke 
> befor changed :
>   } catch (InvocationTargetException e) {
>             throw new SpringInvocationException("Spring invoker invoke method '"+ theMethod.getName()+"' error.",e); 
> changed and tested:
>   } catch (InvocationTargetException e) {
>             throw new SpringInvocationException("Spring invoker invoke method '"+ theMethod.getName()+"' error.",e.getCaus()); 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.