21 lines
671 B
C#
21 lines
671 B
C#
using System.Runtime.Serialization;
|
||
|
||
|
||
namespace ProjectBus.Exceptions;
|
||
|
||
[Serializable]
|
||
|
||
public class CollectionOverflowException : ApplicationException
|
||
{
|
||
public CollectionOverflowException(int count) : base("В коллекции превышено допустимое количество: " + count) { }
|
||
|
||
public CollectionOverflowException() : base(){}
|
||
|
||
public CollectionOverflowException(string message) : base(message) { }
|
||
|
||
public CollectionOverflowException(string message, Exception exception) : base(message, exception) { }
|
||
|
||
protected CollectionOverflowException(SerializationInfo info, StreamingContext contex) : base(info, contex) { }
|
||
}
|
||
|