aboutsummaryrefslogtreecommitdiff
path: root/Timeline/Services/ConflictException.cs
blob: 6ede183ae390e142e5439323338418b75790ed1b (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 ConflictException : Exception
    {
        public ConflictException() : base(Resources.Services.Exception.ConflictException) { }
        public ConflictException(string message) : base(message) { }
        public ConflictException(string message, Exception inner) : base(message, inner) { }
        protected ConflictException(
          System.Runtime.Serialization.SerializationInfo info,
          System.Runtime.Serialization.StreamingContext context) : base(info, context) { }
    }
}