19 lines
731 B
C#
19 lines
731 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Runtime.Serialization;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace ContainerShip.Exceptions
|
|||
|
{
|
|||
|
internal class ShipNotFoundException : ApplicationException
|
|||
|
{
|
|||
|
public ShipNotFoundException(int i) : base($"Не найден объект по позиции {i}") { }
|
|||
|
public ShipNotFoundException() : base() { }
|
|||
|
public ShipNotFoundException(string message) : base(message) { }
|
|||
|
public ShipNotFoundException(string message, Exception exception) : base(message, exception) { }
|
|||
|
protected ShipNotFoundException(SerializationInfo info, StreamingContext context) : base(info, context) { }
|
|||
|
}
|
|||
|
}
|