Table of Contents

Class AppendConditionFailedException

Namespace
Opossum.Exceptions
Assembly
Opossum.dll

Exception thrown when an append condition fails during event appending. This is the single exception type that represents an optimistic concurrency conflict as defined by the DCB specification.

ConcurrencyException is a subclass of this exception and is thrown by the file-system layer for internal ledger-level races. Callers should always catch AppendConditionFailedException — this covers both cases.

public class AppendConditionFailedException : EventStoreException, ISerializable
Inheritance
AppendConditionFailedException
Implements
Derived
Inherited Members

Constructors

AppendConditionFailedException()

Initializes a new instance of the AppendConditionFailedException class

public AppendConditionFailedException()

AppendConditionFailedException(string)

Initializes a new instance of the AppendConditionFailedException class with a specified error message

public AppendConditionFailedException(string message)

Parameters

message string

The message that describes the error

AppendConditionFailedException(string, Exception)

Initializes a new instance of the AppendConditionFailedException class with a specified error message and inner exception

public AppendConditionFailedException(string message, Exception innerException)

Parameters

message string

The message that describes the error

innerException Exception

The exception that is the cause of the current exception