Class CorruptionException
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
componentNamestringName of the component where corruption was detected.
pageIndexintPage index where corruption was detected, or -1 if not page-specific.
detailstringHuman-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
errorCodeTyphonErrorCodecomponentNamestringpageIndexintdetailstring
Properties
ComponentName
Name of the component where corruption was detected.
public string ComponentName { get; }
Property Value
PageIndex
Page index where corruption was detected, or -1 if not page-specific.
public int PageIndex { get; }