PIbd-21_Krasnikov_Lab1.base/WinFormsApp1/TraktorNotFoundExeption.cs

23 lines
739 B
C#
Raw Permalink Normal View History

2022-12-23 00:48:39 +04:00
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) { }
}
}