You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by ee...@apache.org on 2010/07/28 22:54:33 UTC

svn commit: r980206 - /cassandra/trunk/contrib/client_only/ClientOnlyExample.java

Author: eevans
Date: Wed Jul 28 20:54:33 2010
New Revision: 980206

URL: http://svn.apache.org/viewvc?rev=980206&view=rev
Log:
update client_only example for CASSANDRA-1317 changes

Patch by eevans

Modified:
    cassandra/trunk/contrib/client_only/ClientOnlyExample.java

Modified: cassandra/trunk/contrib/client_only/ClientOnlyExample.java
URL: http://svn.apache.org/viewvc/cassandra/trunk/contrib/client_only/ClientOnlyExample.java?rev=980206&r1=980205&r2=980206&view=diff
==============================================================================
--- cassandra/trunk/contrib/client_only/ClientOnlyExample.java (original)
+++ cassandra/trunk/contrib/client_only/ClientOnlyExample.java Wed Jul 28 20:54:33 2010
@@ -22,6 +22,7 @@ import org.apache.cassandra.db.marshal.A
 import org.apache.cassandra.service.*;
 import org.apache.cassandra.thrift.ColumnPath;
 import org.apache.cassandra.thrift.ConsistencyLevel;
+import org.apache.cassandra.thrift.InvalidRequestException;
 import org.apache.cassandra.thrift.UnavailableException;
 
 import java.io.IOException;
@@ -122,6 +123,10 @@ public class ClientOnlyExample
             {
                 throw new RuntimeException(e);
             }
+            catch (InvalidRequestException e)
+            {
+                throw new RuntimeException(e);
+            }
         }
 
         // no need to do this: