aboutsummaryrefslogtreecommitdiff
path: root/Timeline/Services/Exceptions/TimelinePostNoDataException.cs
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-06-17 17:10:40 +0800
committercrupest <crupest@outlook.com>2020-06-17 17:10:40 +0800
commit3dc9460798798e5ba155fae7b6afe84522c2c619 (patch)
treedd5e74d262b268f6ba7be5826a192bc42934cb35 /Timeline/Services/Exceptions/TimelinePostNoDataException.cs
parentf737fed4f003fbeb7187629a7b730c64a87b72b9 (diff)
downloadtimeline-3dc9460798798e5ba155fae7b6afe84522c2c619.tar.gz
timeline-3dc9460798798e5ba155fae7b6afe84522c2c619.tar.bz2
timeline-3dc9460798798e5ba155fae7b6afe84522c2c619.zip
refactor(back): Refactor timeline service.
Diffstat (limited to 'Timeline/Services/Exceptions/TimelinePostNoDataException.cs')
-rw-r--r--Timeline/Services/Exceptions/TimelinePostNoDataException.cs15
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) { }
+ }
+}