From c1d3fdf48cff97aedc356a6aa41242269c52f682 Mon Sep 17 00:00:00 2001 From: Eric Evans Date: Wed, 28 Jul 2010 20:54:33 +0000 Subject: [PATCH] update client_only example for CASSANDRA-1317 changes Patch by eevans git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@980206 13f79535-47bb-0310-9956-ffa450edef68 --- contrib/client_only/ClientOnlyExample.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/contrib/client_only/ClientOnlyExample.java b/contrib/client_only/ClientOnlyExample.java index ac7b5b4c32..6d6267510e 100644 --- a/contrib/client_only/ClientOnlyExample.java +++ b/contrib/client_only/ClientOnlyExample.java @@ -22,6 +22,7 @@ import org.apache.cassandra.db.marshal.AbstractType; 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: