using System.Runtime.Serialization; namespace ProjectElectroTrans.Exceptions; public class DrawingEquitablesException : Exception { public DrawingEquitablesException() : base("Объекты прорисовки одинаковые") { } public DrawingEquitablesException(string message) : base(message) { } public DrawingEquitablesException(string message, Exception exception) : base(message, exception) { } protected DrawingEquitablesException(SerializationInfo info, StreamingContext contex) : base(info, contex) { } }