DSInternals/Src/DSInternals.DataStore/Exceptions/InvalidDatabaseStateExcepti...

15 lines
350 B
C#
Raw Normal View History

2016-02-21 08:16:56 +00:00
using System;
namespace DSInternals.DataStore
{
public class InvalidDatabaseStateException : Exception
{
private const string FilePathDataKey = "FilePath";
public InvalidDatabaseStateException(string message, string filePath) : base(message)
{
this.Data[FilePathDataKey] = filePath;
}
}
}