From 15534471f2eb8ba4fde37e43cf0954836cd86fcd Mon Sep 17 00:00:00 2001 From: crupest Date: Sun, 25 Apr 2021 21:37:52 +0800 Subject: ... --- .../Services/User/PasswordBadFormatException.cs | 26 ---------------------- 1 file changed, 26 deletions(-) delete mode 100644 BackEnd/Timeline/Services/User/PasswordBadFormatException.cs (limited to 'BackEnd/Timeline/Services/User/PasswordBadFormatException.cs') diff --git a/BackEnd/Timeline/Services/User/PasswordBadFormatException.cs b/BackEnd/Timeline/Services/User/PasswordBadFormatException.cs deleted file mode 100644 index b9d76017..00000000 --- a/BackEnd/Timeline/Services/User/PasswordBadFormatException.cs +++ /dev/null @@ -1,26 +0,0 @@ -using System; - -namespace Timeline.Services.User -{ - [Serializable] - public class PasswordBadFormatException : Exception - { - public PasswordBadFormatException() : base(Resources.Services.Exception.PasswordBadFormatException) { } - public PasswordBadFormatException(string message) : base(message) { } - public PasswordBadFormatException(string message, Exception inner) : base(message, inner) { } - - public PasswordBadFormatException(string password, string validationMessage) : this() - { - Password = password; - ValidationMessage = validationMessage; - } - - protected PasswordBadFormatException( - System.Runtime.Serialization.SerializationInfo info, - System.Runtime.Serialization.StreamingContext context) : base(info, context) { } - - public string Password { get; set; } = ""; - - public string ValidationMessage { get; set; } = ""; - } -} -- cgit v1.2.3