You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by ay...@apache.org on 2012/10/24 18:44:28 UTC

svn commit: r1401774 - /cxf/branches/2.6.x-fixes/api/src/main/java/org/apache/cxf/io/CachedOutputStream.java

Author: ay
Date: Wed Oct 24 16:44:28 2012
New Revision: 1401774

URL: http://svn.apache.org/viewvc?rev=1401774&view=rev
Log:
fixing jdk compile error

Modified:
    cxf/branches/2.6.x-fixes/api/src/main/java/org/apache/cxf/io/CachedOutputStream.java

Modified: cxf/branches/2.6.x-fixes/api/src/main/java/org/apache/cxf/io/CachedOutputStream.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.6.x-fixes/api/src/main/java/org/apache/cxf/io/CachedOutputStream.java?rev=1401774&r1=1401773&r2=1401774&view=diff
==============================================================================
--- cxf/branches/2.6.x-fixes/api/src/main/java/org/apache/cxf/io/CachedOutputStream.java (original)
+++ cxf/branches/2.6.x-fixes/api/src/main/java/org/apache/cxf/io/CachedOutputStream.java Wed Oct 24 16:44:28 2012
@@ -607,7 +607,7 @@ public class CachedOutputStream extends 
             try {
                 initCiphers();
             } catch (GeneralSecurityException e) {
-                throw new IOException(e.getMessage(), e);
+                throw new IOException(e.getMessage() + e.toString());
             }
             out = new CipherOutputStream(out, enccipher) {
                 boolean closed;