Class MaxFieldSizeException
- Namespace
- CsvHelper
- Assembly
- CsvHelper.dll
Represents an error due to a field that is too large.
public class MaxFieldSizeException : CsvHelperException, ISerializable
- Inheritance
-
MaxFieldSizeException
- Implements
- Inherited Members
Constructors
MaxFieldSizeException(CsvContext)
Initializes a new instance of the MaxFieldSizeException class.
public MaxFieldSizeException(CsvContext context)
Parameters
context
CsvContextThe reading context.
MaxFieldSizeException(CsvContext, string)
Initializes a new instance of the MaxFieldSizeException class with a specified error message.
public MaxFieldSizeException(CsvContext context, string message)
Parameters
context
CsvContextThe reading context.
message
stringThe message that describes the error.
MaxFieldSizeException(CsvContext, string, Exception)
Initializes a new instance of the MaxFieldSizeException class with a specified error message and a reference to the inner exception that is the cause of this exception.
public MaxFieldSizeException(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.