Class OutboxFencingTokenUnavailableException
Thrown when a leader gate is active but yields no fencing token, so a fenced outbox operation cannot be proven to belong to the current tenure and is refused rather than performed unfenced.
public sealed class OutboxFencingTokenUnavailableException : OutboxFenceRefusedException, ISerializable
- Inheritance
-
OutboxFencingTokenUnavailableException
- Implements
- Inherited Members
- Extension Methods
Remarks
This is the ABSENT-token refusal, distinct from StaleOutboxFencingTokenException, which is the SUPERSEDED-token refusal. They are separate types because they carry different evidence: a stale refusal can name the token that overtook it, and this one has no token to compare at all. Reporting an absent token as a stale one would state a high-water mark that was never read.
Reaching this state under an active gate means the caller cannot prove its write authority. Refuse the current drain without falling back to an unfenced write. Unlike a learned stale-token refusal, an absent token supplies no evidence for a rejected-token watermark; do not poison a newer or unrelated token merely because the live gate currently exposes no token.
Constructors
OutboxFencingTokenUnavailableException()
Initializes a new instance of the OutboxFencingTokenUnavailableException class.
public OutboxFencingTokenUnavailableException()
OutboxFencingTokenUnavailableException(string)
Initializes a new instance of the OutboxFencingTokenUnavailableException class with a message.
public OutboxFencingTokenUnavailableException(string message)
Parameters
messagestringThe message that describes the refusal.
OutboxFencingTokenUnavailableException(string, Exception)
Initializes a new instance of the OutboxFencingTokenUnavailableException class with a message and an inner exception.
public OutboxFencingTokenUnavailableException(string message, Exception innerException)