You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Rick Rineholt (JIRA)" <tu...@ws.apache.org> on 2007/01/16 14:27:27 UTC

[jira] Updated: (TUSCANY-1034) Need to add support for business exceptions - at least in simple intra-Composite case to begin with

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

Rick Rineholt updated TUSCANY-1034:
-----------------------------------

        Fix Version/s: Java-M3
    Affects Version/s:     (was: Java-M2)
                       Java-M3

> Need to add support for business exceptions - at least in simple intra-Composite case to begin with
> ---------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1034
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1034
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Core
>    Affects Versions: Java-M3
>         Environment: M2- level code
>            Reporter: Scott Kurz
>             Fix For: Java-M3
>
>
> Not sure how to track this one.  It's possible adding support for business exceptions is an effort which spans a bunch of different parts.  
> To start with,  as the comment acknowledges the DataBindingInteceptor (sic) needs to do something other than the current:
>         // FIXME: How to deal with faults?
>         if (resultMsg.isFault()) {
>             // We need to figure out what fault type it is and then transform it back the source fault type
>             throw new InvocationRuntimeException((Throwable) result);
>         } 
> If no transform was needed this code would have been fine simply doing:
>      return resultMsg;
> If this would not be worked on more completely it might be worth enabling this simple case for the time being.  
> Later, probably in another JIRA, code such as the Axis2 binding might need to be tweaked to handle business exceptions/faults.  (For example we might unwrap an AxisFault).  Depends on how this is
> handled.
> In the meantime I wanted to get this down as a TODO.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org