mirror of
https://github.com/wismna/ModernKeePass.git
synced 2025-10-03 15:40:18 -04:00
WIP Clean Architecture
Windows 8.1 App Uses keepasslib v2.44 (temporarily)
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
using System;
|
||||
|
||||
namespace ModernKeePass.Domain.Exceptions
|
||||
{
|
||||
public class DatabaseClosedException: Exception
|
||||
{ }
|
||||
}
|
7
ModernKeePass.Domain/Exceptions/DatabaseOpenException.cs
Normal file
7
ModernKeePass.Domain/Exceptions/DatabaseOpenException.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
using System;
|
||||
|
||||
namespace ModernKeePass.Domain.Exceptions
|
||||
{
|
||||
public class DatabaseOpenException: Exception
|
||||
{ }
|
||||
}
|
11
ModernKeePass.Domain/Exceptions/NavigationException.cs
Normal file
11
ModernKeePass.Domain/Exceptions/NavigationException.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using System;
|
||||
|
||||
namespace ModernKeePass.Domain.Exceptions
|
||||
{
|
||||
public class NavigationException: Exception
|
||||
{
|
||||
public NavigationException(Type pageType) : base($"Failed to load Page {pageType.FullName}")
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
14
ModernKeePass.Domain/Exceptions/SaveException.cs
Normal file
14
ModernKeePass.Domain/Exceptions/SaveException.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
|
||||
namespace ModernKeePass.Domain.Exceptions
|
||||
{
|
||||
public class SaveException : Exception
|
||||
{
|
||||
public new Exception InnerException { get; }
|
||||
|
||||
public SaveException(Exception exception)
|
||||
{
|
||||
InnerException = exception;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user