CfbException

Overview

CfbException is the exception type raised by the CFB reader and writer when a Compound File Binary document is malformed, truncated, or violates the MS-CFB specification. It inherits from the .NET base Exception class. Catch CfbException around calls to CfbReader, CfbDocument, and CfbWriter to recover from format errors without crashing.

Constructors

SignatureDescription
CfbException(message: string)Creates a new CfbException with the specified parameters.

See Also