64 lines
2.0 KiB
C#
64 lines
2.0 KiB
C#
/*
|
|
* TDAS.File.Reader.BadCrcException.cs
|
|
*
|
|
* Copyright © 2009
|
|
* Diversified Technical Systems, Inc.
|
|
* All Rights Reserved
|
|
*/
|
|
|
|
namespace DTS.Serialization.TDAS
|
|
{
|
|
// *** see TDAS.File.cs ***
|
|
public partial class File
|
|
{
|
|
// *** see TDAS.File.Reader.cs ***
|
|
public partial class Reader
|
|
{ ///
|
|
/// <summary>
|
|
/// Representation of a bad CRC filer event.
|
|
/// </summary>
|
|
///
|
|
public class BadCrcException : Exception
|
|
{ ///
|
|
/// <summary>
|
|
/// Initialize an instance of the BadCrcException class.
|
|
/// </summary>
|
|
///
|
|
public BadCrcException()
|
|
{
|
|
}
|
|
|
|
/// <summary>
|
|
/// Initialize an instance of the BadCrcException class.
|
|
/// </summary>
|
|
///
|
|
/// <param name="msg">
|
|
/// The <see cref="string"/> message to be associated with this exception.
|
|
/// </param>
|
|
///
|
|
public BadCrcException(string msg)
|
|
: base(msg)
|
|
{
|
|
}
|
|
|
|
/// <summary>
|
|
/// Initialize an instance of the BadCrcException class.
|
|
/// </summary>
|
|
///
|
|
/// <param name="msg">
|
|
/// The <see cref="string"/> message to be associated with this exception.
|
|
/// </param>
|
|
///
|
|
/// <param name="innerEx">
|
|
/// The inner <see cref="System.Exception"/> that led to this exception's inception.
|
|
/// </param>
|
|
///
|
|
public BadCrcException(string msg, System.Exception innerEx)
|
|
: base(msg, innerEx)
|
|
{
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|