diff --git a/AirBomber/AirBomber/PlaneNotFoundException.cs b/AirBomber/AirBomber/PlaneNotFoundException.cs new file mode 100644 index 0000000..0f5c7e6 --- /dev/null +++ b/AirBomber/AirBomber/PlaneNotFoundException.cs @@ -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) { } + } +}