Class HumlUnsupportedVersionException

Namespace
Huml.Net.Exceptions
Assembly
Huml.Net.dll

Thrown when a HUML document declares a spec version outside the supported range and UnknownVersionBehaviour is Throw.

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

Constructors

HumlUnsupportedVersionException(string)

Initialises a new instance with the declared version string. The message includes the support window from Huml.Net.Versioning.SpecVersionPolicy.

public HumlUnsupportedVersionException(string declaredVersion)

Parameters

declaredVersion string

The version string from the document header (e.g. "v0.3").

Properties

DeclaredVersion

The version string as declared in the document header.

public string DeclaredVersion { get; }

Property Value

string