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
commit840927cc6fe826f25de165da84876e8e676106a8 (patch)
tree11088ce58b74c1e829eb71056319a5c4a91339a6 /BackEnd/Timeline/Services/TimelinePostDataNotExistException.cs
parent02beb8b7fa3b8e5fe33307dd63de92d1c9bfaf0a (diff)
downloadtimeline-840927cc6fe826f25de165da84876e8e676106a8.tar.gz
timeline-840927cc6fe826f25de165da84876e8e676106a8.tar.bz2
timeline-840927cc6fe826f25de165da84876e8e676106a8.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; }
}
}