мелкие исправления

This commit is contained in:
Adelina888 2024-05-14 10:01:44 +04:00
parent 9688585e32
commit eac299fe2c
3 changed files with 3 additions and 3 deletions

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