diff options
author | crupest <crupest@outlook.com> | 2020-01-29 00:17:45 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-01-29 00:17:45 +0800 |
commit | b6043126fae039c58512f60a576b10925b06df4c (patch) | |
tree | 480e4e0fa03f0736cfee97876603fdb87d3fd3bd /Timeline/Services/UsernameBadFormatException.cs | |
parent | 1a653fca9e4e3371dd65782c987a736e2259d66a (diff) | |
download | timeline-b6043126fae039c58512f60a576b10925b06df4c.tar.gz timeline-b6043126fae039c58512f60a576b10925b06df4c.tar.bz2 timeline-b6043126fae039c58512f60a576b10925b06df4c.zip |
...
Diffstat (limited to 'Timeline/Services/UsernameBadFormatException.cs')
-rw-r--r-- | Timeline/Services/UsernameBadFormatException.cs | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/Timeline/Services/UsernameBadFormatException.cs b/Timeline/Services/UsernameBadFormatException.cs deleted file mode 100644 index ad0350b5..00000000 --- a/Timeline/Services/UsernameBadFormatException.cs +++ /dev/null @@ -1,30 +0,0 @@ -using System;
-
-namespace Timeline.Services
-{
- /// <summary>
- /// Thrown when username is of bad format.
- /// </summary>
- [Serializable]
- public class UsernameBadFormatException : Exception
- {
- public UsernameBadFormatException() : base(Resources.Services.Exception.UsernameBadFormatException) { }
- public UsernameBadFormatException(string message) : base(message) { }
- public UsernameBadFormatException(string message, Exception inner) : base(message, inner) { }
-
- public UsernameBadFormatException(string username, string validationMessage) : this() { Username = username; ValidationMessage = validationMessage; }
-
- public UsernameBadFormatException(string username, string validationMessage, string message) : this(message) { Username = username; ValidationMessage = validationMessage; }
-
- protected UsernameBadFormatException(
- System.Runtime.Serialization.SerializationInfo info,
- System.Runtime.Serialization.StreamingContext context) : base(info, context) { }
-
- /// <summary>
- /// Username of bad format.
- /// </summary>
- public string Username { get; private set; } = "";
-
- public string ValidationMessage { get; private set; } = "";
- }
-}
|