PIBD-14_Khalikova.A.R_Stormtrooper_LabWork07_Simple #8

Closed
Adelina wants to merge 3 commits from LabWork07 into LabWork06
3 changed files with 3 additions and 3 deletions
Showing only changes of commit eac299fe2c - Show all commits

View File

@ -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) { }

View File

@ -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) { }

View File

@ -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) { }