axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rich Scheuerle (JIRA)" <>
Subject [jira] Resolved: (AXIS2-2975) Enable AxisFault to display correct 'caused by' exception
Date Mon, 16 Jul 2007 22:15:04 GMT


Rich Scheuerle resolved AXIS2-2975.

    Resolution: Fixed

Thanks Roy !


> 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.
>            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
> 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