jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1380573 - /jmeter/trunk/src/core/org/apache/jmeter/gui/GuiPackage.java
Date Tue, 04 Sep 2012 11:42:09 GMT
Author: pmouawad
Date: Tue Sep  4 11:42:09 2012
New Revision: 1380573

URL: http://svn.apache.org/viewvc?rev=1380573&view=rev
Log:
Cascade exceptions

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/gui/GuiPackage.java

Modified: jmeter/trunk/src/core/org/apache/jmeter/gui/GuiPackage.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/gui/GuiPackage.java?rev=1380573&r1=1380572&r2=1380573&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/gui/GuiPackage.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/gui/GuiPackage.java Tue Sep  4 11:42:09 2012
@@ -326,19 +326,19 @@ public final class GuiPackage implements
                     msg,
                     "Missing jar? See log file." ,
                     JOptionPane.ERROR_MESSAGE);
-            throw new RuntimeException(e.toString()); // Probably a missing
+            throw new RuntimeException(e.toString(), e); // Probably a missing
                                                         // jar
         } catch (ClassNotFoundException e) {
             log.error("Problem retrieving gui for " + objClass, e);
-            throw new RuntimeException(e.toString()); // Programming error:
+            throw new RuntimeException(e.toString(), e); // Programming error:
                                                         // bail out.
         } catch (InstantiationException e) {
             log.error("Problem retrieving gui for " + objClass, e);
-            throw new RuntimeException(e.toString()); // Programming error:
+            throw new RuntimeException(e.toString(), e); // Programming error:
                                                         // bail out.
         } catch (IllegalAccessException e) {
             log.error("Problem retrieving gui for " + objClass, e);
-            throw new RuntimeException(e.toString()); // Programming error:
+            throw new RuntimeException(e.toString(), e); // Programming error:
                                                         // bail out.
         }
     }



Mime
View raw message