Table of Contents

Class QueryGuardBaselineFormatException

Namespace
QueryGuard
Assembly
QueryGuard.Core.dll

Thrown when a baseline document cannot be read.

public sealed class QueryGuardBaselineFormatException : Exception, ISerializable
Inheritance
QueryGuardBaselineFormatException
Implements
Inherited Members

Remarks

A distinct type so a caller can tell "the baseline file is wrong": a configuration problem someone has to fix, from "this scope has no baseline yet", which is normal and is reported by Find(string?) returning null.

Constructors

QueryGuardBaselineFormatException()

Initializes a new instance of the QueryGuardBaselineFormatException class.

QueryGuardBaselineFormatException(string)

Initializes a new instance of the QueryGuardBaselineFormatException class.

QueryGuardBaselineFormatException(string, Exception)

Initializes a new instance of the QueryGuardBaselineFormatException class.