catch (AerospikeException ae) {
// Fail without retry on non-network errors.
command.failOnApplicationError(ae);
}
catch (IOException ioe) {
command.retryAfterInit(new AerospikeException(ioe));
}
catch (Exception e) {
// Fail without retry on unknown errors.
command.failOnApplicationError(new AerospikeException(e));
}
}