aboutsummaryrefslogtreecommitdiff
path: root/BackEnd/Timeline/Services/TimelinePostDataNotExistException.cs
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-02-11 20:10:56 +0800
committercrupest <crupest@outlook.com>2021-02-11 20:10:56 +0800
commitd1317bd9fe08a933a13df88ba692343cde549123 (patch)
treea31dd248ee4f87b0f945c881d68bd6834f7d47c1 /BackEnd/Timeline/Services/TimelinePostDataNotExistException.cs
parente21b5f85f0d66f51e23a7c1cbf260f2981a83a49 (diff)
downloadtimeline-d1317bd9fe08a933a13df88ba692343cde549123.tar.gz
timeline-d1317bd9fe08a933a13df88ba692343cde549123.tar.bz2
timeline-d1317bd9fe08a933a13df88ba692343cde549123.zip
...
Diffstat (limited to 'BackEnd/Timeline/Services/TimelinePostDataNotExistException.cs')
-rw-r--r--BackEnd/Timeline/Services/TimelinePostDataNotExistException.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/BackEnd/Timeline/Services/TimelinePostDataNotExistException.cs b/BackEnd/Timeline/Services/TimelinePostDataNotExistException.cs
index eac7a771..c70f5d9c 100644
--- a/BackEnd/Timeline/Services/TimelinePostDataNotExistException.cs
+++ b/BackEnd/Timeline/Services/TimelinePostDataNotExistException.cs
@@ -8,8 +8,18 @@ namespace Timeline.Services
public TimelinePostDataNotExistException() : this(null, null) { }
public TimelinePostDataNotExistException(string? message) : this(message, null) { }
public TimelinePostDataNotExistException(string? message, Exception? inner) : base(message, inner) { }
+ public TimelinePostDataNotExistException(long timelineId, long postId, long dataIndex, string? message = null, Exception? inner = null) : base(message, inner)
+ {
+ TimelineId = timelineId;
+ PostId = postId;
+ DataIndex = dataIndex;
+ }
protected TimelinePostDataNotExistException(
System.Runtime.Serialization.SerializationInfo info,
System.Runtime.Serialization.StreamingContext context) : base(info, context) { }
+
+ public long TimelineId { get; set; }
+ public long PostId { get; set; }
+ public long DataIndex { get; set; }
}
}