Class RetryKVTransactionException

All Implemented Interfaces:
Serializable, Cloneable
Direct Known Subclasses:
TransactionConflictException

public class RetryKVTransactionException extends KVTransactionException
Exception thrown when an attempt to access a KVTransaction results in a conflict or other condition requiring that the transaction be retried.

Note: although it is usually the case, a RetryKVTransactionException does not necessarily mean that the transaction failed. In some situations (e.g., involving failed network communication) it may not be possible to determine whether a transaction succeeded or not, and this situation is indicated by throwing a RetryKVTransactionException. Whether and how often such a "false negative" can occur is a function of the KVDatabase implementation being used; ideally, all transactions are idempotent and therefore correct in either case.

See Also: