aboutsummaryrefslogtreecommitdiff
path: root/Timeline/Services/UsernameBadFormatException.cs
diff options
context:
space:
mode:
author杨宇千 <crupest@outlook.com>2019-11-13 22:55:31 +0800
committer杨宇千 <crupest@outlook.com>2019-11-13 22:55:31 +0800
commita1e6182c205f726b33c47438a8334449ca92d411 (patch)
tree3513c60842b2b6330c51a05cce37182ed6aa34c0 /Timeline/Services/UsernameBadFormatException.cs
parentc348cd3972aa30eb3f09ae61ba99374527a01af8 (diff)
downloadtimeline-a1e6182c205f726b33c47438a8334449ca92d411.tar.gz
timeline-a1e6182c205f726b33c47438a8334449ca92d411.tar.bz2
timeline-a1e6182c205f726b33c47438a8334449ca92d411.zip
WIP : Write timeline service.
Diffstat (limited to 'Timeline/Services/UsernameBadFormatException.cs')
-rw-r--r--Timeline/Services/UsernameBadFormatException.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Timeline/Services/UsernameBadFormatException.cs b/Timeline/Services/UsernameBadFormatException.cs
index 04354d22..d82bf962 100644
--- a/Timeline/Services/UsernameBadFormatException.cs
+++ b/Timeline/Services/UsernameBadFormatException.cs
@@ -9,8 +9,8 @@ namespace Timeline.Services
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) : this() { Username = username; }
+ public UsernameBadFormatException(string username, Exception inner) : base(Resources.Services.Exception.UsernameBadFormatException, inner) { Username = username; }
public UsernameBadFormatException(string username, string message) : base(message) { Username = username; }
public UsernameBadFormatException(string username, string message, Exception inner) : base(message, inner) { Username = username; }