Class 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}.
[Serializable]
[SuppressMessage("Microsoft.Design", "CA1032:ImplementStandardExceptionConstructors", Justification = "Ignite exceptions use a special constructor.")]
public sealed class TransactionFinishedException : IgniteException, ISerializable
- Inheritance
-
TransactionFinishedException
- Implements
- Inherited Members
Constructors
TransactionFinishedException(Guid, int, string?, Exception?)
Initializes a new instance of the TransactionFinishedException class.
public TransactionFinishedException(Guid traceId, int code, string? message, Exception? innerException = null)