22 lines
780 B
C#
22 lines
780 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
using System.Runtime.Serialization;
|
|||
|
|
|||
|
|
|||
|
namespace ProjectAirFighter.Exceptions
|
|||
|
{
|
|||
|
[Serializable]
|
|||
|
internal class AirplaneNotFoundException : ApplicationException
|
|||
|
{
|
|||
|
public AirplaneNotFoundException(int i) : base($"Не найден объект по позиции {i}") { }
|
|||
|
public AirplaneNotFoundException() : base() { }
|
|||
|
public AirplaneNotFoundException(string message) : base(message) { }
|
|||
|
public AirplaneNotFoundException(string message, Exception exception) : base(message, exception) { }
|
|||
|
protected AirplaneNotFoundException(SerializationInfo info, StreamingContext context) : base(info, context) { }
|
|||
|
}
|
|||
|
}
|
|||
|
|