You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by pm...@apache.org on 2012/09/04 13:42:09 UTC
svn commit: r1380573 -
/jmeter/trunk/src/core/org/apache/jmeter/gui/GuiPackage.java
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.
}
}