PIBD-14_Khalikova.A.R_Stormtrooper_LabWork07_Simple #8
@ -12,7 +12,7 @@ namespace ProjectStormtrooper.Exceptions;
|
||||
[Serializable]
|
||||
internal class CollectionOverflowException:ApplicationException
|
||||
{
|
||||
public CollectionOverflowException(int count): base("В коллекции превышено допустимое количество: count" + count) { }
|
||||
public CollectionOverflowException(int count): base("В коллекции превышено допустимое количество: count " + count) { }
|
||||
public CollectionOverflowException() : base() { }
|
||||
public CollectionOverflowException(string message): base(message) { }
|
||||
public CollectionOverflowException(string message, Exception exception) : base(message, exception) { }
|
||||
|
@ -12,7 +12,7 @@ namespace ProjectStormtrooper.Exceptions;
|
||||
[Serializable]
|
||||
internal class ObjectNotFoundException:ApplicationException
|
||||
{
|
||||
public ObjectNotFoundException(int i): base("Не найден объект по позиции" + i) { }
|
||||
public ObjectNotFoundException(int i): base("Не найден объект по позиции " + i) { }
|
||||
public ObjectNotFoundException() : base() { }
|
||||
public ObjectNotFoundException(string message) : base(message) { }
|
||||
public ObjectNotFoundException(string message, Exception exception) : base(message, exception) { }
|
||||
|
@ -12,7 +12,7 @@ namespace ProjectStormtrooper.Exceptions;
|
||||
[Serializable]
|
||||
internal class PositionOutOfCollectionException:ApplicationException
|
||||
{
|
||||
public PositionOutOfCollectionException(int i):base("Выход за границы коллекции. Позиция" + i) { }
|
||||
public PositionOutOfCollectionException(int i):base("Выход за границы коллекции. Позиция " + i) { }
|
||||
public PositionOutOfCollectionException() : base() { }
|
||||
public PositionOutOfCollectionException(string message) : base(message) { }
|
||||
public PositionOutOfCollectionException(string message, Exception exception): base(message, exception) { }
|
||||
|
Loading…
Reference in New Issue
Block a user