Table of Contents

Class MailboxExportRefusedException

Namespace
MailFathom.Application.Mail.Export
Assembly
MailFathom.Application.dll

Indicates that an export was refused before anything was enqueued or written, and names which refusal it was.

public sealed class MailboxExportRefusedException : MailFathomException, ISerializable
Inheritance
MailboxExportRefusedException
Implements
Inherited Members

Remarks

One type carrying the code rather than a class per refusal, because every one of them is the same act with the same consequence — the caller asked for an export and got none — and what differs is only the sentence and the code a boundary publishes. Each is raised through a factory below, so the pairing of a code with its message is written once.

Nothing in a message here is derived from a message, a folder name, or a caller's credential: the figures are this deployment's own storage, and the setting names are the operator's own configuration.

Properties

ErrorCode

Gets the stable code identifying this failure to a boundary that must report it without naming a type.

Methods

AlreadyRunning()

Refuses a second export of an account that is already writing one.

NoLongerDownloadable()

Refuses to serve an archive that failed, was cancelled, expired, or was deleted.

NoObjectStorage(string)

Refuses an export on a deployment that keeps stored content in its database.

NoStorageHeadroom(long, StoredContentBound)

Refuses an export a configured storage ceiling leaves no headroom for.

NotFound()

Refuses an act on an export this account does not hold.

TooLarge(long, long)

Refuses an export whose measurement is past what this deployment will produce.