If an error occurs as a result of a database operation, an
AerospikeException is thrown.
resultCode field describes the exact cause of the error given by the Aerospike server.
Other client-side error conditions are:
AerospikeException.QueryTerminated— Query prematurely terminated.
AerospikeException.Connection— Client can't connect to the server.
AerospikeException.Timeout— Database request expired before completing.