You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by jb...@apache.org on 2012/11/03 01:33:22 UTC

[2/2] git commit: add catch for NoClassDefFoundError

add catch for NoClassDefFoundError


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

Branch: refs/heads/trunk
Commit: c1d1ab7caa23293b0cd5ebe40a04ad45f81fb2e2
Parents: ae77ecb
Author: Jonathan Ellis <jb...@apache.org>
Authored: Fri Nov 2 18:00:42 2012 -0500
Committer: Jonathan Ellis <jb...@apache.org>
Committed: Fri Nov 2 19:32:51 2012 -0500

----------------------------------------------------------------------
 .../org/apache/cassandra/utils/FBUtilities.java    |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/c1d1ab7c/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 c7c7356..2f59ca1 100644
--- a/src/java/org/apache/cassandra/utils/FBUtilities.java
+++ b/src/java/org/apache/cassandra/utils/FBUtilities.java
@@ -408,6 +408,10 @@ public class FBUtilities
         {
             throw new ConfigurationException(String.format("Unable to find %s class '%s'", readable, classname));
         }
+        catch (NoClassDefFoundError e)
+        {
+            throw new ConfigurationException(String.format("Unable to find %s class '%s'", readable, classname));
+        }
     }
 
     /**