C# Class LumenWorks.Framework.IO.Csv.MalformedCsvException

Represents the exception that is thrown when a CSV file is malformed.
Inheritance: System.Exception
显示文件 Open project: phatcher/CsvReader Class Usage Examples

Public Methods

Method Description
MalformedCsvException ( ) : System

Initializes a new instance of the MalformedCsvException class.

MalformedCsvException ( string message ) : System

Initializes a new instance of the MalformedCsvException class.

MalformedCsvException ( string message, Exception innerException ) : System

Initializes a new instance of the MalformedCsvException class.

MalformedCsvException ( string rawData, int currentPosition, long currentRecordIndex, int currentFieldIndex ) : System

Initializes a new instance of the MalformedCsvException class.

MalformedCsvException ( string rawData, int currentPosition, long currentRecordIndex, int currentFieldIndex, Exception innerException ) : System

Initializes a new instance of the MalformedCsvException class.

Method Details

MalformedCsvException() public method

Initializes a new instance of the MalformedCsvException class.
public MalformedCsvException ( ) : System
return System

MalformedCsvException() public method

Initializes a new instance of the MalformedCsvException class.
public MalformedCsvException ( string message ) : System
message string The message that describes the error.
return System

MalformedCsvException() public method

Initializes a new instance of the MalformedCsvException class.
public MalformedCsvException ( string message, Exception innerException ) : System
message string The message that describes the error.
innerException System.Exception The exception that is the cause of the current exception.
return System

MalformedCsvException() public method

Initializes a new instance of the MalformedCsvException class.
public MalformedCsvException ( string rawData, int currentPosition, long currentRecordIndex, int currentFieldIndex ) : System
rawData string The raw data when the error occured.
currentPosition int The current position in the raw data.
currentRecordIndex long The current record index.
currentFieldIndex int The current field index.
return System

MalformedCsvException() public method

Initializes a new instance of the MalformedCsvException class.
public MalformedCsvException ( string rawData, int currentPosition, long currentRecordIndex, int currentFieldIndex, Exception innerException ) : System
rawData string The raw data when the error occured.
currentPosition int The current position in the raw data.
currentRecordIndex long The current record index.
currentFieldIndex int The current field index.
innerException System.Exception The exception that is the cause of the current exception.
return System