cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brandonwilli...@apache.org
Subject [1/6] git commit: Show the root cause when failing to load a class Patch by Jackson Chung, reviewed by brandonwilliams for CASSANDRA-6258
Date Mon, 28 Oct 2013 19:39:18 GMT
Updated Branches:
  refs/heads/cassandra-1.2 a0831bb6b -> 7793a8521
  refs/heads/cassandra-2.0 b5d563ec3 -> 2e84ab16b
  refs/heads/trunk 4e5ed3a64 -> 8f6e65260


Show the root cause when failing to load a class
Patch by Jackson Chung, reviewed by brandonwilliams for CASSANDRA-6258


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/7793a852
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/7793a852
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/7793a852

Branch: refs/heads/cassandra-1.2
Commit: 7793a85214d04c6c2bd6a44ce1e9e5767fe9226d
Parents: a0831bb
Author: Brandon Williams <brandonwilliams@apache.org>
Authored: Mon Oct 28 14:36:42 2013 -0500
Committer: Brandon Williams <brandonwilliams@apache.org>
Committed: Mon Oct 28 14:36:42 2013 -0500

----------------------------------------------------------------------
 src/java/org/apache/cassandra/utils/FBUtilities.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/7793a852/src/java/org/apache/cassandra/utils/FBUtilities.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/utils/FBUtilities.java b/src/java/org/apache/cassandra/utils/FBUtilities.java
index 2c9a505..8cb6dae 100644
--- a/src/java/org/apache/cassandra/utils/FBUtilities.java
+++ b/src/java/org/apache/cassandra/utils/FBUtilities.java
@@ -425,11 +425,11 @@ public class FBUtilities
         }
         catch (ClassNotFoundException e)
         {
-            throw new ConfigurationException(String.format("Unable to find %s class '%s'",
readable, classname));
+            throw new ConfigurationException(String.format("Unable to find %s class '%s'",
readable, classname), e);
         }
         catch (NoClassDefFoundError e)
         {
-            throw new ConfigurationException(String.format("Unable to find %s class '%s'",
readable, classname));
+            throw new ConfigurationException(String.format("Unable to find %s class '%s'",
readable, classname), e);
         }
     }
 


Mime
View raw message