Component-oriented-programming/ComponentLibrary1/limited_text/OutOfRangeException.cs
Zakharov_Rostislav 3ddd5b0500 feat(lab1): do lab1
task2 is complited

Some refactoring. Created folders for each components

complete task 3 (maybe)

some refactoring

some refactor

some minor fixes

minor changes

minor fixes

minor fixes
2024-09-16 14:26:15 +04:00

20 lines
796 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace ComponentLibrary1.limited_text
{
[Serializable]
internal class OutOfRangeException : ApplicationException
{
public OutOfRangeException(int min, int max) : base($"Введенное значение не входит в диапазон от {min} до {max}") { }
public OutOfRangeException() : base() { }
public OutOfRangeException(string message) : base(message) { }
public OutOfRangeException(string message, Exception exception) : base(message, exception) { }
protected OutOfRangeException(SerializationInfo info, StreamingContext context) : base(info, context) { }
}
}