| | 1 | | namespace Songhay.Exceptions; |
| | 2 | |
|
| | 3 | | /// <summary> |
| | 4 | | /// Exception for CSV parsing |
| | 5 | | /// in <see cref="Songhay.Extensions.StringExtensions.CsvSplit"/>. |
| | 6 | | /// </summary> |
| | 7 | | [Serializable] |
| | 8 | | public class CsvParseException : Exception |
| | 9 | | { |
| | 10 | | /// <summary> |
| | 11 | | /// Initializes a new instance of the <see cref="CsvParseException"/> class. |
| | 12 | | /// </summary> |
| | 13 | | /// <param name="message">The message.</param> |
| | 14 | | /// <param name="innerException">The inner exception.</param> |
| 0 | 15 | | public CsvParseException(string message, Exception innerException) : base(message, innerException) |
| 0 | 16 | | { |
| 0 | 17 | | } |
| | 18 | |
|
| | 19 | | /// <summary> |
| | 20 | | /// Initializes a new instance of the <see cref="CsvParseException"/> class. |
| | 21 | | /// </summary> |
| | 22 | | /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo"/> that holds the serialized |
| | 23 | | /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext"/> that contains contextual |
| 0 | 24 | | protected CsvParseException(SerializationInfo info, StreamingContext context) : base(info, context) |
| 0 | 25 | | { |
| 0 | 26 | | } |
| | 27 | |
|
| | 28 | | /// <summary> |
| | 29 | | /// Initializes a new instance of the <see cref="CsvParseException"/> class. |
| | 30 | | /// </summary> |
| | 31 | | /// <param name="message">The message.</param> |
| 3 | 32 | | public CsvParseException(string message) : base(message) |
| 3 | 33 | | { |
| 3 | 34 | | } |
| | 35 | | } |