15 lines
640 B
C#
15 lines
640 B
C#
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) { }
|
||
}
|
||
}
|