PIBD14-BOYKO-M.S.SuperEasyS.../ProjectElectroTrans/Exceptions/ObjectNotFoundException.cs

16 lines
625 B
C#
Raw Permalink Normal View History

2024-04-24 23:26:19 +04:00
using System.Runtime.Serialization;
namespace ProjectElectroTrans.Exceptions;
[Serializable]
internal class ObjectNotFoundException : ApplicationException
{
public ObjectNotFoundException(int i) : base("Не найден объект по позиции " + i) { }
public ObjectNotFoundException() : base() { }
public ObjectNotFoundException(string message) : base(message) { }
public ObjectNotFoundException(string message, Exception exception) :
base(message, exception) { }
protected ObjectNotFoundException(SerializationInfo info, StreamingContext
contex) : base(info, contex) { }
}