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

namespace TimelineApp.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; }
    }
}