20 lines
463 B
C#

using System;
using System.Runtime.Serialization;
namespace VisualComponentsLib.CustomException
{
[Serializable]
public class TextBoxException : Exception
{
// Constructors
public TextBoxException(string message)
: base(message)
{ }
// Ensure Exception is Serializable
protected TextBoxException(SerializationInfo info, StreamingContext ctxt)
: base(info, ctxt)
{ }
}
}