Namespace Apache.Ignite.Tx
Classes
- IncompatibleSchemaException
Thrown when, during an attempt to execute a transactional operation, it turns out that the operation cannot be executed because an incompatible schema change has happened. The transaction in question is aborted.
- MismatchingTransactionOutcomeException
The exception is thrown when the transaction result differs from the intended one.For example, {@code tx.commit()} is called for a transaction, but the verification logic decided to abort it instead. The transaction will be aborted and the call to {@code tx.commit()} will throw this exception.
- TransactionException
This exception is thrown if a transaction can't be finished for some reason.
- TransactionFinishedException
Thrown when an operation cannot proceed because its transaction has already been finished (aborted, timed out, or killed).The failed operation can never succeed under the same transaction, so retrying it as-is (for example, replaying the same replica request) is pointless and must not happen. What is expected to succeed is retrying the whole transactional closure with a new transaction — for example, via {@link IgniteTransactions#runInTransaction} — which is why this class implements {@link RetriableTransactionException}.