📄 lib/src/DltParseException.cs
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
namespace SharpDlt;

/// <summary>
/// The exception that is thrown when DLT data cannot be parsed.
/// </summary>
public sealed class DltParseException : FormatException
{
    /// <summary>Initializes a new instance of the <see cref="DltParseException"/> class.</summary>
    public DltParseException(string message)
        : base(message) { }

    /// <summary>Initializes a new instance of the <see cref="DltParseException"/> class.</summary>
    public DltParseException(string message, Exception innerException)
        : base(message, innerException) { }
}