You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2014/11/10 19:53:35 UTC

[jira] [Resolved] (CXF-4242) Add exception name to faultstring/detail/stackTrace

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

Daniel Kulp resolved CXF-4242.
------------------------------
       Resolution: Fixed
    Fix Version/s: 3.0.2

> Add exception name to faultstring/detail/stackTrace
> ---------------------------------------------------
>
>                 Key: CXF-4242
>                 URL: https://issues.apache.org/jira/browse/CXF-4242
>             Project: CXF
>          Issue Type: Improvement
>          Components: Soap Binding
>            Reporter: Alessio Soldano
>             Fix For: 3.0.2
>
>
> When using faultStackTraceEnabled = true and exceptionMessageCauseEnabled = true, it's have the soap message enriched with the exception that caused a fault to be generated. The stackTrace element, though, does not include the (class) name of the exception that's been thrown.
> I tried a naive fix (i.e. adding sb.append(throwable.getClass().getCanonicalName() + " : " + throwable.getMessage() + "\n"); into the AbstractSoapInterceptor::prepareStackTrace(..) method), but it seems the whole fix for CXF-3445 should be revisited (including client side).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)