aboutsummaryrefslogtreecommitdiff
path: root/BackEnd/Timeline/Services/TimelinePostCreateDataException.cs
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-02-10 14:31:31 +0800
committercrupest <crupest@outlook.com>2021-02-10 14:31:31 +0800
commit98df0fb9fe94b703325f09bf765904a11e8a7d4c (patch)
tree544f7af5bdac4726404cc466e61947471949ffaa /BackEnd/Timeline/Services/TimelinePostCreateDataException.cs
parent4ea535d93753826ec900879560d876cec4d58c38 (diff)
downloadtimeline-98df0fb9fe94b703325f09bf765904a11e8a7d4c.tar.gz
timeline-98df0fb9fe94b703325f09bf765904a11e8a7d4c.tar.bz2
timeline-98df0fb9fe94b703325f09bf765904a11e8a7d4c.zip
...
Diffstat (limited to 'BackEnd/Timeline/Services/TimelinePostCreateDataException.cs')
-rw-r--r--BackEnd/Timeline/Services/TimelinePostCreateDataException.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/BackEnd/Timeline/Services/TimelinePostCreateDataException.cs b/BackEnd/Timeline/Services/TimelinePostCreateDataException.cs
new file mode 100644
index 00000000..fd1e6664
--- /dev/null
+++ b/BackEnd/Timeline/Services/TimelinePostCreateDataException.cs
@@ -0,0 +1,16 @@
+namespace Timeline.Services
+{
+ [System.Serializable]
+ public class TimelinePostCreateDataException : System.Exception
+ {
+ public TimelinePostCreateDataException() { }
+ public TimelinePostCreateDataException(string message) : base(message) { }
+ public TimelinePostCreateDataException(string message, System.Exception inner) : base(message, inner) { }
+ public TimelinePostCreateDataException(long index, string? message, System.Exception? inner = null) : base(message, inner) { Index = index; }
+ protected TimelinePostCreateDataException(
+ System.Runtime.Serialization.SerializationInfo info,
+ System.Runtime.Serialization.StreamingContext context) : base(info, context) { }
+
+ public long Index { get; }
+ }
+}