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