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

namespace Timeline.Services
{
    /// <summary>
    /// Thrown when a resource already exists and conflicts with the given resource.
    /// </summary>
    /// <remarks>
    /// For example a username already exists and conflicts with the given username.
    /// </remarks>
    [Serializable]
    public class ConfictException : Exception
    {
        public ConfictException() : base(Resources.Services.Exception.ConfictException) { }
        public ConfictException(string message) : base(message) { }
        public ConfictException(string message, Exception inner) : base(message, inner) { }
        protected ConfictException(
          System.Runtime.Serialization.SerializationInfo info,
          System.Runtime.Serialization.StreamingContext context) : base(info, context) { }
    }
}