BiffUnsupportedVersionException Class
Definition
- Assembly
- Bodu.IO.Biff.dll
- Package
- Bodu.IO.Biff 1.0.0
The exception thrown when a stream is well-formed BIFF but encoded in a version the codec does not process: a BIFF2,
BIFF3, or BIFF4 beginning-of-file record, or a BOF whose version field is neither BIFF5 nor BIFF8.
public sealed class BiffUnsupportedVersionException : NotSupportedException, ISerializable
- Inheritance
-
BiffUnsupportedVersionException
- Implements
- Inherited Members
- Extension Methods
Remarks
The distinction from BiffFormatException is deliberate: the data is not corrupt, it is simply older (or newer) than the two versions the codec implements.
Constructors
BiffUnsupportedVersionException()
Initializes a new instance of the BiffUnsupportedVersionException class.
public BiffUnsupportedVersionException()
BiffUnsupportedVersionException(string?)
Initializes a new instance of the BiffUnsupportedVersionException class with the specified message.
public BiffUnsupportedVersionException(string? message)
Parameters
messagestringThe message that describes the error.
BiffUnsupportedVersionException(string?, Exception?)
Initializes a new instance of the BiffUnsupportedVersionException class with the specified message and inner exception.
public BiffUnsupportedVersionException(string? message, Exception? innerException)
Parameters
BiffUnsupportedVersionException(string?, ushort)
Initializes a new instance of the BiffUnsupportedVersionException class with the specified message and the raw version marker that was encountered.
public BiffUnsupportedVersionException(string? message, ushort rawVersion)
Parameters
Properties
RawVersion
Gets the raw version marker that was rejected.
public ushort? RawVersion { get; }
Property Value
Applies to
| Product | Versions |
|---|---|
| .NET | 8, 10 |