Table of Contents

Class DigestMismatchException

Namespace
ZeroInstall.Store.Implementations
Assembly
ZeroInstall.Store.dll

Indicates that the ManifestDigest of an implementation does not match the expected value.

public sealed class DigestMismatchException : Exception, ISerializable
Inheritance
object
DigestMismatchException
Implements
Inherited Members

Constructors

DigestMismatchException()

public DigestMismatchException()

DigestMismatchException(string)

public DigestMismatchException(string message)

Parameters

message string

DigestMismatchException(string, Exception)

public DigestMismatchException(string message, Exception innerException)

Parameters

message string
innerException Exception

DigestMismatchException(string?, string?, Manifest?, Manifest?)

Creates a new digest mismatch exception.

public DigestMismatchException(string? expectedDigest = null, string? actualDigest = null, Manifest? expectedManifest = null, Manifest? actualManifest = null)

Parameters

expectedDigest string

The digest value the Implementation was supposed to have.

actualDigest string

The digest value that was actually calculated.

expectedManifest Manifest

The Manifest from which expectedDigest was derived.

actualManifest Manifest

The Manifest that actualDigest was derived from.

Properties

ActualDigest

The hash value that was actually calculated.

public string? ActualDigest { get; }

Property Value

string

ActualManifest

The Manifest that resulted in the ActualDigest.

public Manifest? ActualManifest { get; }

Property Value

Manifest

ExpectedDigest

The hash value the Implementation was supposed to have.

public string? ExpectedDigest { get; }

Property Value

string

ExpectedManifest

The Manifest that resulted in the ExpectedDigest.

public Manifest? ExpectedManifest { get; }

Property Value

Manifest

LongMessage

A longer version of Message that contains more details. Suitable for verbose output.

public string LongMessage { get; }

Property Value

string