You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Alessio Soldano (Created) (JIRA)" <ji...@apache.org> on 2012/04/17 12:47:19 UTC

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

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


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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira