15 lines
674 B
C#
15 lines
674 B
C#
using System.Runtime.Serialization;
|
|
using ProjectElectroTrans.Drawnings;
|
|
|
|
namespace ProjectElectroTrans.Exceptions;
|
|
|
|
public class CollectionInsertException : Exception
|
|
{
|
|
public CollectionInsertException(object obj) : base($"Объект {obj} не удволетворяет уникальности") { }
|
|
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) { }
|
|
} |