Initializes a new instance of the
TypeConverterException class
with a specified error message and a reference to the inner exception that
is the cause of this exception.
- Namespace
- CsvHelper
.TypeConversion - Containing Type
- Type
Converter Exception
Syntax
public TypeConverterException(ITypeConverter typeConverter, MemberMapData memberMapData, string text, CsvContext context, string message, Exception innerException)
Parameters
| Name | Type | Description |
|---|---|---|
| typeConverter | ITypeConverter | The type converter. |
| memberMapData | MemberMapData | The member map data. |
| text | string | The text. |
| 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. |