Class ConcurrencyConflictException
- Namespace
- SEBT.Portal.Core.Exceptions
- Assembly
- SEBT.Portal.Core.dll
Thrown when a data update fails because another writer modified the record concurrently. Infrastructure repositories translate technology-specific concurrency exceptions (e.g., EF Core's DbUpdateConcurrencyException) into this domain exception so that use case handlers can react without depending on infrastructure types.
public class ConcurrencyConflictException : Exception
- Inheritance
-
objectExceptionConcurrencyConflictException
Constructors
ConcurrencyConflictException(string)
public ConcurrencyConflictException(string message)
Parameters
messagestring
ConcurrencyConflictException(string, Exception)
public ConcurrencyConflictException(string message, Exception innerException)
Parameters
messagestringinnerExceptionException