From c225b1b450e2bc3a83ab581bc4a17c55086b85d3 Mon Sep 17 00:00:00 2001 From: Artyom_Yashin Date: Fri, 8 Dec 2023 16:27:51 +0400 Subject: [PATCH] Lab7 very very done --- AirBomber/AirBomber/PlanesGenericStorage.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AirBomber/AirBomber/PlanesGenericStorage.cs b/AirBomber/AirBomber/PlanesGenericStorage.cs index 3060187..0c5048d 100644 --- a/AirBomber/AirBomber/PlanesGenericStorage.cs +++ b/AirBomber/AirBomber/PlanesGenericStorage.cs @@ -88,7 +88,7 @@ namespace ProjectAirBomber.Generics { if (!(collection + plane)) { - throw new Exception("Ошибка добавления в коллекцию"); + throw new ArgumentNullException("Ошибка добавления в коллекцию"); } } }