From edfc86d84da81fcabc00bb27e875f26038bf94f7 Mon Sep 17 00:00:00 2001 From: 杨宇千 Date: Mon, 4 Nov 2019 21:02:12 +0800 Subject: Complete designing timeline service though there may be many bugs in the design. --- Timeline/Resources/Services/Exception.Designer.cs | 18 ++++++++++++++++++ Timeline/Resources/Services/Exception.resx | 6 ++++++ 2 files changed, 24 insertions(+) (limited to 'Timeline/Resources') diff --git a/Timeline/Resources/Services/Exception.Designer.cs b/Timeline/Resources/Services/Exception.Designer.cs index a5785cb6..1f6493cb 100644 --- a/Timeline/Resources/Services/Exception.Designer.cs +++ b/Timeline/Resources/Services/Exception.Designer.cs @@ -267,6 +267,15 @@ namespace Timeline.Resources.Services { } } + /// + /// Looks up a localized string similar to The timeline with that name already exists.. + /// + internal static string TimelineAlreadyExistException { + get { + return ResourceManager.GetString("TimelineAlreadyExistException", resourceCulture); + } + } + /// /// Looks up a localized string similar to An exception happened when add or remove member on timeline.. /// @@ -303,6 +312,15 @@ namespace Timeline.Resources.Services { } } + /// + /// Looks up a localized string similar to The use is not a member of the timeline.. + /// + internal static string TimelineUserNotMemberException { + get { + return ResourceManager.GetString("TimelineUserNotMemberException", resourceCulture); + } + } + /// /// Looks up a localized string similar to The username is of bad format.. /// diff --git a/Timeline/Resources/Services/Exception.resx b/Timeline/Resources/Services/Exception.resx index e6622094..3e9d3747 100644 --- a/Timeline/Resources/Services/Exception.resx +++ b/Timeline/Resources/Services/Exception.resx @@ -186,6 +186,9 @@ version claim is not a number. + + The timeline with that name already exists. + An exception happened when add or remove member on timeline. @@ -198,6 +201,9 @@ Timeline does not exist. If this is a personal timeline, it means the user does not exist and inner exception should be a UserNotExistException. + + The use is not a member of the timeline. + The username is of bad format. -- cgit v1.2.3