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

Rich Scheuerle resolved AXIS2-2975.
-----------------------------------

    Resolution: Fixed

Thanks Roy !

Revision=556750

> Enable AxisFault to display correct 'caused by' exception
> ---------------------------------------------------------
>
>                 Key: AXIS2-2975
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2975
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: jaxws, kernel
>            Reporter: Roy A. Wood Jr.
>            Assignee: Rich Scheuerle
>         Attachments: patch_to_2464_1.txt, patch_to_2464_2.txt
>
>
> When an application throws an exception, the JAXWSMessageReceiver
> throws a new exception which does not include as it's initalCause
> the initial exception. This is done by the following code:
>   faultToReturn = new AxisFault("An error was detected during JAXWS 
> processing",
>                                           axisResponseMsgCtx);
> This results in the following logging data which is totally uninformative and 
> doesn't make clear
> that the exception came from user code, nor will it help them debug their 
> application
> (note, the application exception is not output to SystemOut or SystemErr)
> The original exception caught from the user application should be retained 
> and set as the
> initial cause on the new AxisFault so that exception will be outputted.
> This fix will allow the original 'caused by' exception to be captured and 
> retained for logging purposes

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

Reply via email to