cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From asold...@apache.org
Subject cxf git commit: [CXF-4242] Add exception name to faultstring/detail/stackTrace
Date Thu, 13 Nov 2014 15:22:38 GMT
Repository: cxf
Updated Branches:
  refs/heads/master 49a78e92b -> eb3dd9380


[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/eb3dd938
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/eb3dd938
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/eb3dd938

Branch: refs/heads/master
Commit: eb3dd938052b3e853b0cf85dacf31ef7f802af38
Parents: 49a78e9
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 16:21:12 2014 +0100

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


http://git-wip-us.apache.org/repos/asf/cxf/blob/eb3dd938/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 18999ff..1815a99 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
@@ -72,6 +72,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