Table of Contents

CompoundFileException Class

Definition

Namespace
Bodu.IO.Compound
Assembly
Bodu.IO.Compound.dll
Package
Bodu.IO.Compound 1.0.0
Source
CompoundFileException.cs

The base class for exceptions raised by the compound-file reader, writer, and object model.

public class CompoundFileException : Exception, ISerializable
Inheritance
CompoundFileException
Implements
Derived
Inherited Members
Extension Methods

Remarks

Catch this type to handle any compound-file failure uniformly. The concrete subclasses narrow the cause: CompoundFileFormatException reports structural failures encountered while reading, CompoundFileSerializationException reports authoring and write-time failures, and CompoundStreamNotFoundException reports a missing named stream or storage.

Constructors

CompoundFileException()

Initializes a new instance of the CompoundFileException class.

public CompoundFileException()

CompoundFileException(string)

Initializes a new instance of the CompoundFileException class with the specified message.

public CompoundFileException(string message)

Parameters

message string

A message that describes the failure.

CompoundFileException(string, Exception)

Initializes a new instance of the CompoundFileException class with the specified message and a reference to the underlying cause.

public CompoundFileException(string message, Exception innerException)

Parameters

message string

A message that describes the failure.

innerException Exception

The exception that is the cause of this exception.

Applies to

ProductVersions
.NET8, 10