Difficulty getting at the detail of fault messages  thrown across remote 
bindings
---------------------------------------------------------------------------------

                 Key: TUSCANY-2774
                 URL: https://issues.apache.org/jira/browse/TUSCANY-2774
             Project: Tuscany
          Issue Type: Bug
          Components: Java SCA Axis Binding Extension
    Affects Versions: Java-SCA-1.4
         Environment: All
            Reporter: Simon Laws
            Priority: Minor


When a fault is thrown across the web services binding (and probably other 
remote binding) faults are wrapped in a FaultException structure. On the 
reference side the details of the remote fault end up in the faultInfo field 
that doesn't naturally get printed out when the fault stack trace or message is 
printed. You have to do something like. 

                System.out.println(ex.getMessage());
                if (ex.getCause() instanceof FaultException){
                        
System.out.println(((FaultException)ex.getCause()).getFaultInfo().toString());
                }

Can we make the fault info come out with more nomal exception printing 
operations. 

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

Reply via email to