You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by br...@apache.org on 2013/10/28 20:39:20 UTC

[3/6] git commit: Show the root cause when failing to load a class Patch by Jackson Chung, reviewed by brandonwilliams for CASSANDRA-6258

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/trunk
Commit: 7793a85214d04c6c2bd6a44ce1e9e5767fe9226d
Parents: a0831bb
Author: Brandon Williams <br...@apache.org>
Authored: Mon Oct 28 14:36:42 2013 -0500
Committer: Brandon Williams <br...@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);
         }
     }