Class RetryTransactionException

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

public class RetryTransactionException 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 RetryTransactionException 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 RetryTransactionException. 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: