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-M2
         Environment: M2- level code
            Reporter: Scott Kurz


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to