ISEbd-22 Alimova M.S. Lab Work 07 #7
19
AirBomber/AirBomber/PlaneNotFoundException.cs
Normal file
19
AirBomber/AirBomber/PlaneNotFoundException.cs
Normal 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) { }
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user