Начало Lab7. Создание PlaneNotFoundException

This commit is contained in:
malimova 2023-12-10 20:53:32 +04:00
parent 726373a2a1
commit 557028cc39

View File

@ -0,0 +1,19 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace AirBomber
{
internal class PlaneNotFoundException: ApplicationException
{
public PlaneNotFoundException(int i) : base($"Не найден объект по позиции {i}") { }
public PlaneNotFoundException() : base() { }
public PlaneNotFoundException(string message) : base(message) { }
public PlaneNotFoundException(string message, Exception exception) : base(message, exception)
{ }
protected PlaneNotFoundException(SerializationInfo info, StreamingContext contex) : base(info, contex) { }
}
}