Table of Contents

Class MismatchingTransactionOutcomeException

Namespace
Apache.Ignite.Tx
Assembly
Apache.Ignite.dll

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.

[Serializable]
public sealed class MismatchingTransactionOutcomeException : IgniteException, ISerializable
Inheritance
MismatchingTransactionOutcomeException
Implements
Inherited Members

Constructors

MismatchingTransactionOutcomeException(Guid, int, string?, Exception?)

Initializes a new instance of the MismatchingTransactionOutcomeException class.

public MismatchingTransactionOutcomeException(Guid traceId, int code, string? message, Exception? innerException = null)

Parameters

traceId Guid

Trace id.

code int

Code.

message string

Message.

innerException Exception

Inner exception.