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/30 20:07:50 UTC

[4/8] git commit: change AssertionError to RTE (#5007)

change AssertionError to RTE (#5007)


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

Branch: refs/heads/cassandra-1.2.0
Commit: 188f0792858167da48f59bdc8f07844d2ef82e18
Parents: 2f187c9
Author: Jonathan Ellis <jb...@apache.org>
Authored: Sat Dec 1 04:07:23 2012 +0900
Committer: Jonathan Ellis <jb...@apache.org>
Committed: Sat Dec 1 04:07:23 2012 +0900

----------------------------------------------------------------------
 src/java/org/apache/cassandra/tools/NodeProbe.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/188f0792/src/java/org/apache/cassandra/tools/NodeProbe.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/tools/NodeProbe.java b/src/java/org/apache/cassandra/tools/NodeProbe.java
index 34a8025..261374f 100644
--- a/src/java/org/apache/cassandra/tools/NodeProbe.java
+++ b/src/java/org/apache/cassandra/tools/NodeProbe.java
@@ -590,7 +590,7 @@ public class NodeProbe
             }
         }
 
-        throw new AssertionError("Could not find myself in the endpoint list, something is very wrong!");
+        throw new RuntimeException("Could not find myself in the endpoint list, something is very wrong!  Is the Cassandra node fully started?");
     }
 
     public String getDataCenter()