diff options
author | crupest <crupest@outlook.com> | 2021-02-10 14:31:31 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-02-10 14:31:31 +0800 |
commit | 872f0e9f094f37db9ff208d178ad5bea2fafc1a7 (patch) | |
tree | 27291dc4105e64ca3ed6ed43a8822cb911ed49a9 /BackEnd/Timeline/Services/TimelinePostCreateDataException.cs | |
parent | 253b06dfaa091d986a8714c081fd1e01679f538a (diff) | |
download | timeline-872f0e9f094f37db9ff208d178ad5bea2fafc1a7.tar.gz timeline-872f0e9f094f37db9ff208d178ad5bea2fafc1a7.tar.bz2 timeline-872f0e9f094f37db9ff208d178ad5bea2fafc1a7.zip |
...
Diffstat (limited to 'BackEnd/Timeline/Services/TimelinePostCreateDataException.cs')
-rw-r--r-- | BackEnd/Timeline/Services/TimelinePostCreateDataException.cs | 16 |
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; }
+ }
+}
|