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
messagestringThe 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)