2024-04-24 23:26:19 +04:00
|
|
|
|
using System.Runtime.Serialization;
|
2024-04-25 02:31:55 +04:00
|
|
|
|
using ProjectElectroTrans.Drawnings;
|
2024-04-24 23:26:19 +04:00
|
|
|
|
|
|
|
|
|
namespace ProjectElectroTrans.Exceptions;
|
|
|
|
|
|
|
|
|
|
public class CollectionInsertException : Exception
|
|
|
|
|
{
|
2024-04-25 02:31:55 +04:00
|
|
|
|
public CollectionInsertException(object obj) : base($"Объект {obj} не удволетворяет уникальности") { }
|
2024-04-24 23:26:19 +04:00
|
|
|
|
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) { }
|
|
|
|
|
}
|