Chain exception
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 15 Mar 2011 22:53:36 +0000 (22:53 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 15 Mar 2011 22:53:36 +0000 (22:53 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1081976 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/tomcat/util/net/jsse/JSSESocketFactory.java
webapps/docs/changelog.xml

index 2484b0d..20ea51c 100644 (file)
@@ -474,7 +474,7 @@ public class JSSESocketFactory implements ServerSocketFactory, SSLUtil {
         } catch(Exception e) {
             if( e instanceof IOException )
                 throw (IOException)e;
-            throw new IOException(e.getMessage());
+            throw new IOException(e.getMessage(), e);
         }
     }
 
index 240a4d7..023f8aa 100644 (file)
         <bug>50928</bug>: Don&apos;t ignore keyPass attribute for HTTP BIO and
         NIO connectors. Based on a patch provided by sebb. (markt)
       </fix>
+      <fix>
+        Make root cause exception available if JSSE SSL initialisation fails.
+        Patch provided by sebb. (markt) 
+      </fix>
     </changelog>
   </subsection>
   <subsection name="Web applications">