Table of Contents

Class CorruptionException

Namespace
Typhon.Engine
Assembly
Typhon.Engine.dll

Data integrity violation — checksum mismatch, structural corruption, invalid page state. Never transient (inherits default false). Requires human intervention or restore from backup.

public class CorruptionException : StorageException, ISerializable
Inheritance
CorruptionException
Implements
Derived
Inherited Members

Constructors

CorruptionException(string, int, string)

Creates a new CorruptionException for the specified component and page.

public CorruptionException(string componentName, int pageIndex, string detail)

Parameters

componentName string

Name of the component where corruption was detected.

pageIndex int

Page index where corruption was detected, or -1 if not page-specific.

detail string

Human-readable description of the corruption.

CorruptionException(TyphonErrorCode, string, int, string)

Creates a new CorruptionException with a specific error code. Used by subclasses.

protected CorruptionException(TyphonErrorCode errorCode, string componentName, int pageIndex, string detail)

Parameters

errorCode TyphonErrorCode
componentName string
pageIndex int
detail string

Properties

ComponentName

Name of the component where corruption was detected.

public string ComponentName { get; }

Property Value

string

PageIndex

Page index where corruption was detected, or -1 if not page-specific.

public int PageIndex { get; }

Property Value

int