using System.Runtime.Serialization; namespace ProjectElectroTrans.Exceptions; public class CollectionInsertException : Exception { public CollectionInsertException() : base() { } public CollectionInsertException(string message) : base(message) { } public CollectionInsertException(string message, Exception exception) : base(message, exception) { } protected CollectionInsertException(SerializationInfo info, StreamingContext contex) : base(info, contex) { } }