Table of Contents

Class ParserException

Namespace
CsvHelper
Assembly
CsvHelper.dll

Represents errors that occur while parsing a CSV file.

public class ParserException : CsvHelperException, ISerializable
Inheritance
ParserException
Implements
Inherited Members

Constructors

ParserException(CsvContext)

Initializes a new instance of the ParserException class.

public ParserException(CsvContext context)

Parameters

context CsvContext

The reading context.

ParserException(CsvContext, string)

Initializes a new instance of the ParserException class with a specified error message.

public ParserException(CsvContext context, string message)

Parameters

context CsvContext

The reading context.

message string

The message that describes the error.

ParserException(CsvContext, string, Exception)

Initializes a new instance of the ParserException class with a specified error message and a reference to the inner exception that is the cause of this exception.

public ParserException(CsvContext context, string message, Exception innerException)

Parameters

context CsvContext

The reading context.

message string

The error message that explains the reason for the exception.

innerException Exception

The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.