24 lines
769 B
C#
24 lines
769 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Runtime.Serialization;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace ProjectAirplaneWithRadar.Exceptions
|
|
{
|
|
[Serializable]
|
|
internal class ObjectExistException : ApplicationException
|
|
{
|
|
public ObjectExistException(int count) : base("Вставка уже существующего объекта") { }
|
|
|
|
public ObjectExistException() : base() { }
|
|
|
|
public ObjectExistException(string message) : base(message) { }
|
|
|
|
public ObjectExistException(string message, Exception exception) : base(message, exception) { }
|
|
|
|
protected ObjectExistException(SerializationInfo info, StreamingContext contex) : base(info, contex) { }
|
|
}
|
|
}
|