cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (CXF-2472) if exception in fault handling, throw fault instead of processing exception
Date Thu, 15 Oct 2009 16:22:31 GMT

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

Daniel Kulp resolved CXF-2472.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2.5
                   2.1.8
         Assignee: Daniel Kulp

> if exception in fault handling, throw fault instead of processing exception
> ---------------------------------------------------------------------------
>
>                 Key: CXF-2472
>                 URL: https://issues.apache.org/jira/browse/CXF-2472
>             Project: CXF
>          Issue Type: Improvement
>          Components: Soap Binding
>    Affects Versions: 2.2.4, 2.2.5
>            Reporter: Michael Allman
>            Assignee: Daniel Kulp
>            Priority: Minor
>             Fix For: 2.1.8, 2.2.5
>
>         Attachments: SoapFaultOutInterceptors.patch
>
>
> In Soap11FaultOutInterceptor and Soap12FaultOutInterceptor, if we encounter an XMLStreamException
writing the fault, we throw a new Fault wrapping that processing exception.  Runtime exceptions
are not caught, and the original fault is lost.  I've attached a patch addressing both of
these issues.
> With this patch, if there's a processing exception we will see the original fault in
the server logs rather than the processing exception.  From my experience, logging this fault
is much more valuable than logging the processing exception.

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


Mime
View raw message