LOG.error("Skipping tuple: " + tuple, e);
} catch (StormCassandraException e) {
LOG.error("Failed to write tuple. Exception: " + e.getLocalizedMessage());
// This will tell storm to replay the whole batch
// TODO should we add a number of retry here?
throw new FailedException();
} catch (Exception e) {
LOG.error("Unexcepted exception: " + e.getLocalizedMessage());
// unexpected error should not be replayed. Log only
collector.reportError(e);
}