PstNodeNotFoundException Class
Definition
- Assembly
- Bodu.IO.Pst.dll
- Package
- Bodu.IO.Pst 0.7.1
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
messagestringThe 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
Applies to
| Product | Versions |
|---|---|
| .NET | 8, 10 |