Zero Install .NET API  2.18.1
ZeroInstall.Store.Implementations.DigestMismatchException Class Reference

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

Inheritance diagram for ZeroInstall.Store.Implementations.DigestMismatchException:

Public Member Functions

 DigestMismatchException (string? expectedDigest=null, string? actualDigest=null, Manifest? expectedManifest=null, Manifest? actualManifest=null)
 Creates a new digest mismatch exception. More...
 
 DigestMismatchException ()
 
 DigestMismatchException (string message)
 
 DigestMismatchException (string message, Exception innerException)
 
override void GetObjectData (SerializationInfo info, StreamingContext context)
 

Properties

string? ExpectedDigest [get]
 The hash value the Implementation was supposed to have. More...
 
ManifestExpectedManifest [get]
 The Manifest that resulted in the ExpectedDigest. More...
 
string? ActualDigest [get]
 The hash value that was actually calculated. More...
 
ManifestActualManifest [get]
 The Manifest that resulted in the ActualDigest. More...
 
string LongMessage [get]
 A longer version of Exception.Message that contains more details. Suitable for verbose output. More...
 

Detailed Description

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

Constructor & Destructor Documentation

◆ DigestMismatchException()

ZeroInstall.Store.Implementations.DigestMismatchException.DigestMismatchException ( string?  expectedDigest = null,
string?  actualDigest = null,
Manifest expectedManifest = null,
Manifest actualManifest = null 
)
inline

Creates a new digest mismatch exception.

Parameters
expectedDigestThe digest value the Implementation was supposed to have.
actualDigestThe digest value that was actually calculated.
expectedManifestThe Manifest that resulted in the expectedDigest ; may be null.
actualManifestThe Manifest that resulted in the actualDigest .

Property Documentation

◆ ActualDigest

string? ZeroInstall.Store.Implementations.DigestMismatchException.ActualDigest
get

The hash value that was actually calculated.

◆ ActualManifest

Manifest? ZeroInstall.Store.Implementations.DigestMismatchException.ActualManifest
get

The Manifest that resulted in the ActualDigest.

◆ ExpectedDigest

string? ZeroInstall.Store.Implementations.DigestMismatchException.ExpectedDigest
get

The hash value the Implementation was supposed to have.

◆ ExpectedManifest

Manifest? ZeroInstall.Store.Implementations.DigestMismatchException.ExpectedManifest
get

The Manifest that resulted in the ExpectedDigest.

◆ LongMessage

string ZeroInstall.Store.Implementations.DigestMismatchException.LongMessage
get

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


The documentation for this class was generated from the following file: