PIbd-21_KozyrevSS_GasolineT.../Lab/CarNotFoundException.cs
2023-11-28 13:51:41 +04:00

20 lines
718 B
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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