You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by se...@apache.org on 2014/07/31 14:55:40 UTC

svn commit: r1614875 - /jmeter/trunk/src/core/org/apache/jmeter/util/HttpSSLProtocolSocketFactory.java

Author: sebb
Date: Thu Jul 31 12:55:40 2014
New Revision: 1614875

URL: http://svn.apache.org/r1614875
Log:
Don't drop the original stack-trace when converting the exception type

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/util/HttpSSLProtocolSocketFactory.java

Modified: jmeter/trunk/src/core/org/apache/jmeter/util/HttpSSLProtocolSocketFactory.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/util/HttpSSLProtocolSocketFactory.java?rev=1614875&r1=1614874&r2=1614875&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/util/HttpSSLProtocolSocketFactory.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/util/HttpSSLProtocolSocketFactory.java Thu Jul 31 12:55:40 2014
@@ -103,7 +103,7 @@ public class HttpSSLProtocolSocketFactor
             SSLContext sslContext = this.sslManager.getContext();
             return sslContext.getSocketFactory();
         } catch (GeneralSecurityException ex) {
-            throw new IOException(ex.getMessage());
+            throw new IOException("Rethrown as IOE", ex);
         }
     }