diff options
author | crupest <crupest@outlook.com> | 2020-01-29 18:38:41 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-01-29 18:38:41 +0800 |
commit | 81c261b59016e15d320ad963882afe4d9c7b5f7d (patch) | |
tree | dd1cd091ecc2c80943735af4b71b53ef26fc7eee /Timeline/Services/UsernameConfictException.cs | |
parent | 2750a3df1834c1c6623aa8c653504c7bc12cefd6 (diff) | |
download | timeline-81c261b59016e15d320ad963882afe4d9c7b5f7d.tar.gz timeline-81c261b59016e15d320ad963882afe4d9c7b5f7d.tar.bz2 timeline-81c261b59016e15d320ad963882afe4d9c7b5f7d.zip |
...
Diffstat (limited to 'Timeline/Services/UsernameConfictException.cs')
-rw-r--r-- | Timeline/Services/UsernameConfictException.cs | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/Timeline/Services/UsernameConfictException.cs b/Timeline/Services/UsernameConfictException.cs deleted file mode 100644 index fde1eda6..00000000 --- a/Timeline/Services/UsernameConfictException.cs +++ /dev/null @@ -1,25 +0,0 @@ -using System;
-using Timeline.Helpers;
-
-namespace Timeline.Services
-{
- /// <summary>
- /// Thrown when the user already exists.
- /// </summary>
- [Serializable]
- public class UsernameConfictException : Exception
- {
- public UsernameConfictException() : base(Resources.Services.Exception.UsernameConfictException) { }
- public UsernameConfictException(string username) : base(Log.Format(Resources.Services.Exception.UsernameConfictException, ("Username", username))) { Username = username; }
- public UsernameConfictException(string username, string message) : base(message) { Username = username; }
- public UsernameConfictException(string message, Exception inner) : base(message, inner) { }
- protected UsernameConfictException(
- System.Runtime.Serialization.SerializationInfo info,
- System.Runtime.Serialization.StreamingContext context) : base(info, context) { }
-
- /// <summary>
- /// The username that already exists.
- /// </summary>
- public string? Username { get; set; }
- }
-}
|