Class DuplicateReplayException
- Namespace
- FishMMO.Database.Exceptions
- Assembly
- FishMMO-DB.dll
Thrown when a version-gated write is attempted with an incoming Version equal to the persisted Version. This represents a duplicate replay (or double-submit) and must not be treated as success.
public sealed class DuplicateReplayException : DatabaseException, ISerializable
- Inheritance
-
DuplicateReplayException
- Implements
- Inherited Members
Remarks
This is a non-transient logical concurrency failure and should not be retried.
BaseService.ClassifyException maps it to DuplicateReplay
and returns a DatabaseResult failure.
Constructors
DuplicateReplayException()
Initializes a new instance of the DuplicateReplayException class.
public DuplicateReplayException()
DuplicateReplayException(string)
Initializes a new instance of the DuplicateReplayException class.
public DuplicateReplayException(string message)
Parameters
messagestringSafe error message describing the duplicate replay.
DuplicateReplayException(string, Exception)
Initializes a new instance of the DuplicateReplayException class.
public DuplicateReplayException(string message, Exception innerException)