diff options
author | crupest <crupest@outlook.com> | 2020-06-13 00:28:35 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-06-13 00:28:35 +0800 |
commit | eba8e9698c09b805d8ac2a8f58db93b947ac29e3 (patch) | |
tree | c3bf0aef9d80c19e9a71e9e9aaab16b8364db15b /Timeline/Services/TimelinePostNotExistException.cs | |
parent | cc62df19e5f8aa216660915f46ff290c8eeab1d0 (diff) | |
download | timeline-eba8e9698c09b805d8ac2a8f58db93b947ac29e3.tar.gz timeline-eba8e9698c09b805d8ac2a8f58db93b947ac29e3.tar.bz2 timeline-eba8e9698c09b805d8ac2a8f58db93b947ac29e3.zip |
refactor(back): Fix #100 .
Diffstat (limited to 'Timeline/Services/TimelinePostNotExistException.cs')
-rw-r--r-- | Timeline/Services/TimelinePostNotExistException.cs | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/Timeline/Services/TimelinePostNotExistException.cs b/Timeline/Services/TimelinePostNotExistException.cs deleted file mode 100644 index c542e63e..00000000 --- a/Timeline/Services/TimelinePostNotExistException.cs +++ /dev/null @@ -1,28 +0,0 @@ -using System;
-
-namespace Timeline.Services
-{
- [Serializable]
- public class TimelinePostNotExistException : Exception
- {
- public TimelinePostNotExistException() { }
- public TimelinePostNotExistException(string message) : base(message) { }
- public TimelinePostNotExistException(string message, Exception inner) : base(message, inner) { }
- protected TimelinePostNotExistException(
- System.Runtime.Serialization.SerializationInfo info,
- System.Runtime.Serialization.StreamingContext context) : base(info, context) { }
-
- public TimelinePostNotExistException(string timelineName, long id, bool isDelete = false) : base(Resources.Services.Exception.TimelinePostNotExistException) { TimelineName = timelineName; Id = id; IsDelete = isDelete; }
-
- public TimelinePostNotExistException(string timelineName, long id, bool isDelete, string message) : base(message) { TimelineName = timelineName; Id = id; IsDelete = isDelete; }
-
- public TimelinePostNotExistException(string timelineName, long id, bool isDelete, string message, Exception inner) : base(message, inner) { TimelineName = timelineName; Id = id; IsDelete = isDelete; }
-
- public string TimelineName { get; set; } = "";
- public long Id { get; set; }
- /// <summary>
- /// True if the post is deleted. False if the post does not exist at all.
- /// </summary>
- public bool IsDelete { get; set; } = false;
- }
-}
|