Class DatabaseIntegrityException
Thrown when opening a database whose structural spine does not verify.
public sealed class DatabaseIntegrityException : Exception, ISerializable
- Inheritance
-
DatabaseIntegrityException
- Implements
- Inherited Members
Remarks
There is no --force and no degraded mode. This is not new behaviour in kind — the recovery net already fails an
open loudly rather than opening over suspect primary data; verify-on-open extends the same judgement to the clean path.
A database integrity problem is not a detail worth hiding to make an open succeed.
Constructors
DatabaseIntegrityException(IntegrityReport)
Creates the exception from the report that refused the open.
public DatabaseIntegrityException(IntegrityReport report)
Parameters
reportIntegrityReportThe verification report. Attached so the caller can see exactly what failed.
Properties
Report
The report that refused the open, with every finding and the scan's stated limits.
public IntegrityReport Report { get; }