using System;
using System.Collections.Generic;
namespace Timeline.Services
{
///
/// Thrown when you want to get an entity that does not exist.
///
///
/// For example, you want to get a timeline with given name but it does not exist.
///
[Serializable]
public class EntityNotExistException : EntityException
{
public EntityNotExistException(EntityType bookmarkTimeline) : base() { }
public EntityNotExistException(string? message) : base(message) { }
public EntityNotExistException(string? message, Exception? inner) : base(message, inner) { }
public EntityNotExistException(EntityType entityType, IDictionary? constraints = null, string? message = null, Exception? inner = null)
: base(entityType, constraints, message ?? Resource.ExceptionEntityNotExist, inner)
{
}
protected EntityNotExistException(
System.Runtime.Serialization.SerializationInfo info,
System.Runtime.Serialization.StreamingContext context) : base(info, context) { }
}
}