aboutsummaryrefslogtreecommitdiff
path: root/Timeline/Services/TimelineNotExistException.cs
blob: 6dfd0bab9dd9c2b56413b0076acf2255efd5164a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
using System;

namespace Timeline.Services
{
    [Serializable]
    public class TimelineNotExistException : Exception
    {
        public TimelineNotExistException() : base(Resources.Services.Exception.TimelineNotExistException) { }
        public TimelineNotExistException(string name)
            : base(Resources.Services.Exception.TimelineNotExistException) { Name = name; }
        public TimelineNotExistException(string name, Exception inner)
            : base(Resources.Services.Exception.TimelineNotExistException, inner) { Name = name; }
        protected TimelineNotExistException(
          System.Runtime.Serialization.SerializationInfo info,
          System.Runtime.Serialization.StreamingContext context) : base(info, context) { }

        public string? Name { get; set; }
    }
}