final Cluster cluster = Cluster.open();
final Client client = cluster.connect();
try {
final String fatty = IntStream.range(0, 1024).mapToObj(String::valueOf).collect(Collectors.joining());
final CompletableFuture<ResultSet> result = client.submitAsync("'" + fatty + "';'test'");
final ResultSet resultSet = result.get();
resultSet.all().get();
fail("Should throw an exception.");
} catch (Exception re) {
// can't seem to catch the server side exception - as the channel is basically closed on this error