jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1828460 - /jmeter/trunk/src/core/org/apache/jmeter/util/SSLManager.java
Date Thu, 05 Apr 2018 18:38:59 GMT
Author: pmouawad
Date: Thu Apr  5 18:38:59 2018
New Revision: 1828460

URL: http://svn.apache.org/viewvc?rev=1828460&view=rev
Log:
Fix SONAR warning

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

Modified: jmeter/trunk/src/core/org/apache/jmeter/util/SSLManager.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/util/SSLManager.java?rev=1828460&r1=1828459&r2=1828460&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/util/SSLManager.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/util/SSLManager.java Thu Apr  5 18:38:59 2018
@@ -120,7 +120,7 @@ public abstract class SSLManager {
                 log.info("KeyStore created OK");
             } catch (Exception e) {
                 this.keyStore = null;
-                throw new RuntimeException("Could not create keystore: "+e.getMessage(),
e);
+                throw new IllegalArgumentException("Could not create keystore: "+e.getMessage(),
e);
             }
 
             try {



Mime
View raw message