From 05ccb4d8f1bbe3fb64e117136b4a89bcfb0b0b33 Mon Sep 17 00:00:00 2001 From: crupest Date: Tue, 27 Oct 2020 19:21:35 +0800 Subject: Split front and back end. --- Timeline/Services/BadPasswordException.cs | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 Timeline/Services/BadPasswordException.cs (limited to 'Timeline/Services/BadPasswordException.cs') diff --git a/Timeline/Services/BadPasswordException.cs b/Timeline/Services/BadPasswordException.cs deleted file mode 100644 index f609371d..00000000 --- a/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) { } - - /// - /// The wrong password. - /// - public string? Password { get; set; } - } -} -- cgit v1.2.3