Class ReaderException
- Namespace
- CsvHelper
- Assembly
- CsvHelper.dll
Represents errors that occur while reading a CSV file.
public class ReaderException : CsvHelperException, ISerializable
- Inheritance
-
ReaderException
- Implements
- Derived
- Inherited Members
Constructors
ReaderException(CsvContext)
Initializes a new instance of the ReaderException class.
public ReaderException(CsvContext context)
Parameters
context
CsvContextThe reading context.
ReaderException(CsvContext, string)
Initializes a new instance of the ReaderException class with a specified error message.
public ReaderException(CsvContext context, string message)
Parameters
context
CsvContextThe reading context.
message
stringThe message that describes the error.
ReaderException(CsvContext, string, Exception)
Initializes a new instance of the ReaderException class with a specified error message and a reference to the inner exception that is the cause of this exception.
public ReaderException(CsvContext context, string message, Exception innerException)
Parameters
context
CsvContextThe reading context.
message
stringThe error message that explains the reason for the exception.
innerException
ExceptionThe exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.