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
-
objectDigestMismatchException
- Implements
- Inherited Members
Constructors
DigestMismatchException()
public DigestMismatchException()
DigestMismatchException(string)
public DigestMismatchException(string message)
Parameters
messagestring
DigestMismatchException(string, Exception)
public DigestMismatchException(string message, Exception innerException)
Parameters
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
expectedDigeststringThe digest value the Implementation was supposed to have.
actualDigeststringThe digest value that was actually calculated.
expectedManifestManifestThe Manifest from which
expectedDigestwas derived.actualManifestManifestThe Manifest that
actualDigestwas derived from.
Properties
ActualDigest
The hash value that was actually calculated.
public string? ActualDigest { get; }
Property Value
ActualManifest
The Manifest that resulted in the ActualDigest.
public Manifest? ActualManifest { get; }
Property Value
ExpectedDigest
The hash value the Implementation was supposed to have.
public string? ExpectedDigest { get; }
Property Value
ExpectedManifest
The Manifest that resulted in the ExpectedDigest.
public Manifest? ExpectedManifest { get; }
Property Value
LongMessage
A longer version of Message that contains more details. Suitable for verbose output.
public string LongMessage { get; }