Table of Contents

PstNodeNotFoundException Class

Definition

Namespace
Bodu.IO.Pst
Assembly
Bodu.IO.Pst.dll
Package
Bodu.IO.Pst 0.7.1
Source
PstNodeNotFoundException.cs

Represents a lookup for a node that does not exist in the file.

public sealed class PstNodeNotFoundException : PstFileException, ISerializable
Inheritance
PstNodeNotFoundException
Implements
Inherited Members
Extension Methods

Remarks

A missing node is a caller-visible condition distinct from structural corruption - the file is well-formed, the identifier simply is not present - so it carries its own exception type (with Error set to NodeNotFound) rather than the base PstFileException. Callers that prefer flow control over exceptions use TryGetNode(PstNodeId, out PstNode).

Constructors

PstNodeNotFoundException()

Initializes a new instance of the PstNodeNotFoundException class.

public PstNodeNotFoundException()

PstNodeNotFoundException(string?)

Initializes a new instance of the PstNodeNotFoundException class with a message.

public PstNodeNotFoundException(string? message)

Parameters

message string

The message that describes the error.

PstNodeNotFoundException(string?, Exception?)

Initializes a new instance of the PstNodeNotFoundException class with a message and an inner exception.

public PstNodeNotFoundException(string? message, Exception? innerException)

Parameters

message string

The message that describes the error.

innerException Exception

The exception that caused this error.

Applies to

ProductVersions
.NET8, 10