PIbd-22_Kurbanova_A.A.Warml.../WarmlyLocomotive/WarmlyLocomotiveNotFoundException.cs
ALINA_KURBANOVA a1cb51e02c конец
2023-12-29 18:48:32 +04:00

16 lines
722 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.Runtime.Serialization;
namespace WarmlyLocomotive.Exceptions
{
[Serializable]
internal class WarmlyLocomotiveNotFoundException : ApplicationException
{
public WarmlyLocomotiveNotFoundException(int i) : base($"Не найден объект по позиции {i}") { }
public WarmlyLocomotiveNotFoundException() : base() { }
public WarmlyLocomotiveNotFoundException(string message) : base(message) { }
public WarmlyLocomotiveNotFoundException(string message, Exception exception) : base(message, exception)
{ }
protected WarmlyLocomotiveNotFoundException(SerializationInfo info,
StreamingContext contex) : base(info, contex) { }
}
}