mirror of https://github.com/apache/cassandra
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:
parent
76de427e42
commit
c1d3fdf48c
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue