using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CustomComponents.Exceptions { public class NotIntegerException : Exception { public NotIntegerException() { } public NotIntegerException(string message) : base(new string($"{message} is not an integer!")) { } } }