Skip to content
Webinar - July 10: Cut Infra Costs by 80% with Smarter DRAM, NVMe & Cloud Storage StrategyRegister now

Error handling

If an error occurs as a result of a database operation, an AerospikeException is thrown.

The AerospikeException 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.
Feedback