22 lines
828 B
C#
22 lines
828 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Runtime.Serialization;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace ProjectElectricLocomotive.Exceptions
|
|||
|
{
|
|||
|
public class EmptyFileExeption : Exception
|
|||
|
{
|
|||
|
public EmptyFileExeption(string name) : base("Файл" + name + "пустой ") { }
|
|||
|
public EmptyFileExeption() : base("В хранилище отсутствуют коллекции для сохранения") { }
|
|||
|
public EmptyFileExeption(string name, string message) : base(message) { }
|
|||
|
public EmptyFileExeption(string name, string message, Exception exception) :
|
|||
|
base(message, exception)
|
|||
|
{ }
|
|||
|
protected EmptyFileExeption(SerializationInfo info, StreamingContext contex) : base(info, contex) { }
|
|||
|
}
|
|||
|
}
|
|||
|
|