axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Ribeaud (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2-2754) No possibility to trace back the cause of AxisFault thrown in org.apache.axis2.rpc.receivers.RPCMessageReceiver
Date Fri, 01 Jun 2007 12:23:15 GMT
No possibility to trace back the cause of AxisFault thrown in org.apache.axis2.rpc.receivers.RPCMessageReceiver
---------------------------------------------------------------------------------------------------------------

                 Key: AXIS2-2754
                 URL: https://issues.apache.org/jira/browse/AXIS2-2754
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: adb
    Affects Versions: 1.2
         Environment: Not important.
            Reporter: Christian Ribeaud


In the InvocationTargetException catch block (starting at line l. 138), we can see the following:

(l. 152) throw new AxisFault(msg);

forgetting to put the culprit. I think this is wrong. So there is no possibility on the client
side
to know which exception caused the problem. Better would be:

throw new AxisFault(msg, cause);

A yet better way would be to erase this block and to put the following in the Exception catch
block:

throw AxisFault.makeFault(e);

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


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


Mime
View raw message