CsvFileException Class

Definition

Namespace: DataStandardizer.File.CSV

The exception thrown for abnormal CSV processing — unexpected field counts, unmappable properties, invalid field values, duplicate field names, or invalid field names on write.

Syntax

public sealed class CsvFileException : Exception

Remarks

Additional contextual details (field names, indexes, expected/actual counts) are attached to the exception’s Data dictionary.

Constructors

Constructor Notes
CsvFileException()  
CsvFileException(string message)  
CsvFileException(string message, Exception innerException)  

Properties

Property Signature Notes
FilePath string? FilePath { get; init; } The path to the CSV file. get; only (internal setter) on netstandard1.1 / netstandard2.0 / netstandard2.1.

Applies to

Targets netstandard1.1, netstandard2.0, netstandard2.1, and net10.0. FilePath is init-settable on the net10.0 build; on the .NET Standard builds it is publicly get-only. Its nullable annotation applies to the netstandard2.1 and net10.0 builds.

See also


This site uses Just the Docs, a documentation theme for Jekyll.