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