cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From asold...@apache.org
Subject [1/3] cxf git commit: [CXF-4242] Add exception name to faultstring/detail/stackTrace
Date Thu, 13 Nov 2014 23:02:35 GMT
Repository: cxf
Updated Branches:
  refs/heads/2.7.x-fixes 1ea3fc166 -> 98cef3943


[CXF-4242] Add exception name to faultstring/detail/stackTrace


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/d2744cae
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/d2744cae
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/d2744cae

Branch: refs/heads/2.7.x-fixes
Commit: d2744caec14ba45003970b5e8e4622406d4248fa
Parents: 1ea3fc1
Author: Alessio Soldano <asoldano@redhat.com>
Authored: Thu Nov 13 16:12:57 2014 +0100
Committer: Alessio Soldano <asoldano@redhat.com>
Committed: Thu Nov 13 23:54:26 2014 +0100

----------------------------------------------------------------------
 .../cxf/binding/soap/interceptor/AbstractSoapInterceptor.java       | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/d2744cae/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/AbstractSoapInterceptor.java
----------------------------------------------------------------------
diff --git a/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/AbstractSoapInterceptor.java
b/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/AbstractSoapInterceptor.java
index c3f666b..2c52488 100644
--- a/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/AbstractSoapInterceptor.java
+++ b/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/AbstractSoapInterceptor.java
@@ -79,6 +79,7 @@ public abstract class AbstractSoapInterceptor extends AbstractPhaseInterceptor<S
         if (config && fault.getCause() != null) {
             StringBuilder sb = new StringBuilder();
             Throwable throwable = fault.getCause();
+            sb.append(throwable.getClass().getCanonicalName() + " : " + throwable.getMessage()
+ "\n");
             while (throwable != null) {
                 for (StackTraceElement ste : throwable.getStackTrace()) {
                     sb.append(ste.getClassName() + "!" + ste.getMethodName() + "!" + ste.getFileName()
+ "!"


Mime
View raw message