jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1380576 - /jmeter/trunk/src/reports/org/apache/jmeter/gui/ReportGuiPackage.java
Date Tue, 04 Sep 2012 11:43:44 GMT
Author: pmouawad
Date: Tue Sep  4 11:43:44 2012
New Revision: 1380576

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

Modified:
    jmeter/trunk/src/reports/org/apache/jmeter/gui/ReportGuiPackage.java

Modified: jmeter/trunk/src/reports/org/apache/jmeter/gui/ReportGuiPackage.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/reports/org/apache/jmeter/gui/ReportGuiPackage.java?rev=1380576&r1=1380575&r2=1380576&view=diff
==============================================================================
--- jmeter/trunk/src/reports/org/apache/jmeter/gui/ReportGuiPackage.java (original)
+++ jmeter/trunk/src/reports/org/apache/jmeter/gui/ReportGuiPackage.java Tue Sep  4 11:43:44
2012
@@ -303,19 +303,19 @@ public final class ReportGuiPackage impl
             return node;
         } catch (NoClassDefFoundError e) {
             log.error("Problem retrieving gui for " + objClass, e);
-            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