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
This commit is contained in:
Eric Evans 2010-07-28 20:54:33 +00:00
parent 76de427e42
commit c1d3fdf48c
1 changed files with 5 additions and 0 deletions

View File

@ -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: