20 lines
760 B
C#
20 lines
760 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Runtime.Serialization;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace ProjectBus.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) { }
|
|||
|
|
|||
|
}
|