STLdb

PrevUpHomeNext

Class row_deleted_exception

stldb::row_deleted_exception

Synopsis

// In header: </Users/bobw/workspace/stldb_lib/stldb/exceptions.h>


class row_deleted_exception : public stldb::stldb_exception {
public:
  // construct/copy/destruct
  row_deleted_exception();
  row_deleted_exception(const char *);
};

Description

Exception thrown when a transaction attempts to modify a row which has been deleted by another thread/transaction. This exception is only thrown from blocking methods. Upon discovering that the row indicated by an iterator is already locked by another thread, the method will block until that lock is resolved (via transaction commit/rollback), at that point if the entry that the iterator was on is deleted by that transaction, the blocking method fails, throwing this exception.

row_deleted_exception public construct/copy/destruct

  1. row_deleted_exception();
  2. row_deleted_exception(const char * why);

PrevUpHomeNext