diff options
author | crupest <crupest@outlook.com> | 2020-06-17 17:10:40 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-06-17 17:10:40 +0800 |
commit | 4a46206ea5f004ecb595de4bfd573b6263ac462b (patch) | |
tree | b4532afa1b9026d7245b7c172116a8cc99d33daf /Timeline/Services/Exceptions/TimelinePostNoDataException.cs | |
parent | c360ec8414a563338839b239c0f8062bfdcdc4e9 (diff) | |
download | timeline-4a46206ea5f004ecb595de4bfd573b6263ac462b.tar.gz timeline-4a46206ea5f004ecb595de4bfd573b6263ac462b.tar.bz2 timeline-4a46206ea5f004ecb595de4bfd573b6263ac462b.zip |
refactor(back): Refactor timeline service.
Diffstat (limited to 'Timeline/Services/Exceptions/TimelinePostNoDataException.cs')
-rw-r--r-- | Timeline/Services/Exceptions/TimelinePostNoDataException.cs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Timeline/Services/Exceptions/TimelinePostNoDataException.cs b/Timeline/Services/Exceptions/TimelinePostNoDataException.cs new file mode 100644 index 00000000..c4b6bf62 --- /dev/null +++ b/Timeline/Services/Exceptions/TimelinePostNoDataException.cs @@ -0,0 +1,15 @@ +using System;
+
+namespace Timeline.Services.Exceptions
+{
+ [Serializable]
+ public class TimelinePostNoDataException : Exception
+ {
+ public TimelinePostNoDataException() : this(null, null) { }
+ public TimelinePostNoDataException(string? message) : this(message, null) { }
+ public TimelinePostNoDataException(string? message, Exception? inner) : base(Resources.Services.Exceptions.TimelineNoDataException.AppendAdditionalMessage(message), inner) { }
+ protected TimelinePostNoDataException(
+ System.Runtime.Serialization.SerializationInfo info,
+ System.Runtime.Serialization.StreamingContext context) : base(info, context) { }
+ }
+}
|