aboutsummaryrefslogtreecommitdiff
path: root/BackEnd/Timeline/Services/BadPasswordException.cs
diff options
context:
space:
mode:
Diffstat (limited to 'BackEnd/Timeline/Services/BadPasswordException.cs')
-rw-r--r--BackEnd/Timeline/Services/BadPasswordException.cs27
1 files changed, 0 insertions, 27 deletions
diff --git a/BackEnd/Timeline/Services/BadPasswordException.cs b/BackEnd/Timeline/Services/BadPasswordException.cs
deleted file mode 100644
index f609371d..00000000
--- a/BackEnd/Timeline/Services/BadPasswordException.cs
+++ /dev/null
@@ -1,27 +0,0 @@
-using System;
-using Timeline.Helpers;
-
-namespace Timeline.Services
-{
- [Serializable]
- public class BadPasswordException : Exception
- {
- public BadPasswordException() : base(Resources.Services.Exception.BadPasswordException) { }
- public BadPasswordException(string message, Exception inner) : base(message, inner) { }
-
- public BadPasswordException(string badPassword)
- : base(Log.Format(Resources.Services.Exception.BadPasswordException, ("Bad Password", badPassword)))
- {
- Password = badPassword;
- }
-
- protected BadPasswordException(
- System.Runtime.Serialization.SerializationInfo info,
- System.Runtime.Serialization.StreamingContext context) : base(info, context) { }
-
- /// <summary>
- /// The wrong password.
- /// </summary>
- public string? Password { get; set; }
- }
-}