aboutsummaryrefslogtreecommitdiff
path: root/Timeline/Services/TimelineAlreadyExistException.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Timeline/Services/TimelineAlreadyExistException.cs')
-rw-r--r--Timeline/Services/TimelineAlreadyExistException.cs17
1 files changed, 17 insertions, 0 deletions
diff --git a/Timeline/Services/TimelineAlreadyExistException.cs b/Timeline/Services/TimelineAlreadyExistException.cs
new file mode 100644
index 00000000..c2dea1f9
--- /dev/null
+++ b/Timeline/Services/TimelineAlreadyExistException.cs
@@ -0,0 +1,17 @@
+using System;
+
+namespace Timeline.Services
+{
+ [Serializable]
+ public class TimelineAlreadyExistException : Exception
+ {
+ public TimelineAlreadyExistException() : base(Resources.Services.Exception.TimelineAlreadyExistException) { }
+ public TimelineAlreadyExistException(string name) : base(Resources.Services.Exception.TimelineAlreadyExistException) { Name = name; }
+ public TimelineAlreadyExistException(string name, Exception inner) : base(Resources.Services.Exception.TimelineAlreadyExistException, inner) { Name = name; }
+ protected TimelineAlreadyExistException(
+ System.Runtime.Serialization.SerializationInfo info,
+ System.Runtime.Serialization.StreamingContext context) : base(info, context) { }
+
+ public string? Name { get; set; }
+ }
+}