You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Roy A. Wood Jr. (JIRA)" <ji...@apache.org> on 2008/03/31 18:04:24 UTC

[jira] Closed: (AXIS2-2975) Enable AxisFault to display correct 'caused by' exception

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

Roy A. Wood Jr. closed AXIS2-2975.
----------------------------------


> 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org