Files
zszq-trs/Framework/YLErp.Core/DotNetDBF/DBFException.cs
T
2024-05-09 14:06:26 +08:00

84 lines
1.8 KiB
C#

/*
DBFException
Represents exceptions happen in the JAvaDBF classes.
This file is part of DotNetDBF packege.
original author (javadbf): anil@linuxense.com 2004/03/31
license: LGPL (http://www.gnu.org/copyleft/lesser.html)
ported to C# (DotNetDBF): Jay Tuley <jay+dotnetdbf@tuley.name> 6/28/2007
*/
namespace DotNetDBF
{
/// <summary>
///
/// </summary>
public class DBTException : DBFException
{
/// <summary>
///
/// </summary>
public DBTException(string msg) : base(msg)
{
}
/// <summary>
///
/// </summary>
public DBTException(string msg, Exception internalException)
: base(msg, internalException)
{
}
}
/// <summary>
///
/// </summary>
public class DBFRecordException : DBFException
{
/// <summary>
///
/// </summary>
public int Record { get; }
/// <summary>
///
/// </summary>
public DBFRecordException(string msg, int record) : base(msg)
{
Record = record;
}
/// <summary>
///
/// </summary>
public DBFRecordException(string msg, Exception internalException)
: base(msg, internalException)
{
}
}
/// <summary>
///
/// </summary>
public class DBFException : IOException
{
/// <summary>
///
/// </summary>
public DBFException() : base()
{
}
/// <summary>
///
/// </summary>
public DBFException(string msg) : base(msg)
{
}
/// <summary>
///
/// </summary>
public DBFException(string msg, Exception internalException)
: base(msg, internalException)
{
}
}
}