aboutsummaryrefslogtreecommitdiff
path: root/BackEnd/Timeline/Services/TimelinePostDataNotExistException.cs
diff options
context:
space:
mode:
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; }
}
}