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/01/21 03:31:59 UTC

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

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
             Fix For: Java-SCA-1.4


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.


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

Posted by "Raymond Feng (JIRA)" <de...@tuscany.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-2779?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Raymond Feng reassigned TUSCANY-2779:
-------------------------------------

    Assignee: Raymond Feng

> 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
>            Assignee: Raymond Feng
>
> 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.


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

Posted by "zhulei (JIRA)" <de...@tuscany.apache.org>.
     [ 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.


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

Posted by "Raymond Feng (JIRA)" <de...@tuscany.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-2779?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Raymond Feng resolved TUSCANY-2779.
-----------------------------------

    Resolution: Fixed

The patch is applied under r744811 for 1.x branch. Thanks for the contribution.

> 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
>            Assignee: Raymond Feng
>
> 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.