PIbd-22_DozorovaAA_ArmoredV.../ArmoredVehicle/MachineNotFoundException.cs

15 lines
640 B
C#
Raw Normal View History

2022-11-13 14:02:54 +04:00
using System.Runtime.Serialization;
namespace ArmoredVehicle
{
[Serializable]
internal class MachineNotFoundException : ApplicationException
{
public MachineNotFoundException(int i) : base($"Не найден объект по позиции {i}") { }
public MachineNotFoundException() : base() { }
public MachineNotFoundException(string message) : base(message) { }
public MachineNotFoundException(string message, Exception exception) : base(message, exception) { }
protected MachineNotFoundException(SerializationInfo info, StreamingContext contex) : base(info, contex) { }
}
}