Commit 62230c92 authored by Sören Henning's avatar Sören Henning

throw exception if no keyspace is set

parent b99a9b87
......@@ -28,7 +28,9 @@ public class CassandraDriver implements StorageDriver {
this.session = session;
this.table = table;
// BETTER Check if keyspace's set
if (session.getLoggedKeyspace() == null) {
throw new IllegalArgumentException("No keyspace set.");
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment