18 lines
693 B
C#
18 lines
693 B
C#
using System.Runtime.Serialization;
|
||
namespace ProjectBulldozer.Exceptions
|
||
{
|
||
[Serializable]
|
||
internal class StorageOverflowException : ApplicationException
|
||
{
|
||
public StorageOverflowException(int count) : base($"В наборе превышено допустимое количество: {count}") { }
|
||
|
||
public StorageOverflowException() : base() { }
|
||
|
||
public StorageOverflowException(string message) : base(message) { }
|
||
|
||
public StorageOverflowException(string message, Exception Exception) : base(message, Exception) { }
|
||
|
||
protected StorageOverflowException(SerializationInfo info, StreamingContext context) : base(info, context) { }
|
||
}
|
||
}
|