cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1089632 - /cxf/trunk/api/src/main/java/org/apache/cxf/interceptor/Fault.java
Date Wed, 06 Apr 2011 21:28:37 GMT
Author: dkulp
Date: Wed Apr  6 21:28:37 2011
New Revision: 1089632

URL: http://svn.apache.org/viewvc?rev=1089632&view=rev
Log:
Revert "CXF-3442 Fault should not swallow the cause exception message"

This reverts commit 008c3d720bef0e8170140c2aa4f5296bce9a4acf.

Modified:
    cxf/trunk/api/src/main/java/org/apache/cxf/interceptor/Fault.java

Modified: cxf/trunk/api/src/main/java/org/apache/cxf/interceptor/Fault.java
URL: http://svn.apache.org/viewvc/cxf/trunk/api/src/main/java/org/apache/cxf/interceptor/Fault.java?rev=1089632&r1=1089631&r2=1089632&view=diff
==============================================================================
--- cxf/trunk/api/src/main/java/org/apache/cxf/interceptor/Fault.java (original)
+++ cxf/trunk/api/src/main/java/org/apache/cxf/interceptor/Fault.java Wed Apr  6 21:28:37
2011
@@ -44,13 +44,7 @@ public class Fault extends UncheckedExce
     
     public Fault(Message message, Throwable throwable) {
         super(message, throwable);
-        StringBuffer buffer = new StringBuffer();
-        buffer.append(message.toString());
-        if (throwable != null) {
-            buffer.append(" Caused by :");
-            buffer.append(throwable.getMessage());
-        }
-        this.message = buffer.toString();
+        this.message = message.toString();
         code = FAULT_CODE_SERVER;
     }
     



Mime
View raw message