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 22:50:07 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.0.x-fixes 657f7112d -> a0e70fbf3


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

Branch: refs/heads/3.0.x-fixes
Commit: 22b11250576d29d99b5e41062b83361175a0b648
Parents: 657f711
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:05:44 2014 +0100

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


http://git-wip-us.apache.org/repos/asf/cxf/blob/22b11250/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