axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roy A. Wood Jr. (JIRA)" <>
Subject [jira] Updated: (AXIS2-2975) Enable AxisFault to display correct 'caused by' exception
Date Mon, 16 Jul 2007 19:48:05 GMT


Roy A. Wood Jr. updated AXIS2-2975:

    Attachment: patch_to_2464_2.txt

Attach this patch as part 2 of the fix (dependent on part 1)

> Enable AxisFault to display correct 'caused by' exception
> ---------------------------------------------------------
>                 Key: AXIS2-2975
>                 URL:
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: jaxws, kernel
>            Reporter: Roy A. Wood Jr.
>         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
> 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:
For additional commands, e-mail:

View raw message