cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r1182752 - /cxf/trunk/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/AbstractSoapInterceptor.java
Date Thu, 13 Oct 2011 10:07:40 GMT
Author: ningjiang
Date: Thu Oct 13 10:07:40 2011
New Revision: 1182752

URL: http://svn.apache.org/viewvc?rev=1182752&view=rev
Log:
CXF-3736 polished the code of caused by message

Modified:
    cxf/trunk/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/AbstractSoapInterceptor.java

Modified: cxf/trunk/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/AbstractSoapInterceptor.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/AbstractSoapInterceptor.java?rev=1182752&r1=1182751&r2=1182752&view=diff
==============================================================================
--- cxf/trunk/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/AbstractSoapInterceptor.java
(original)
+++ cxf/trunk/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/AbstractSoapInterceptor.java
Thu Oct 13 10:07:40 2011
@@ -85,7 +85,8 @@ public abstract class AbstractSoapInterc
                 }
                 throwable = throwable.getCause();
                 if (throwable != null) {
-                    sb.append("Caused by: " +  throwable.getClass() + " : " + throwable.getMessage()
+ "\n");
+                    sb.append("Caused by: " +  throwable.getClass().getCanonicalName() 
+                              + " : " + throwable.getMessage() + "\n");
                 }
             }
             Element detail = fault.getDetail();



Mime
View raw message