using System; using System.Runtime.Serialization; using Kyoo.Abstractions.Controllers; namespace Kyoo.Abstractions.Models.Exceptions { /// /// An exception raised when an failed. /// [Serializable] public class IdentificationFailedException : Exception { /// /// Create a new with a default message. /// public IdentificationFailedException() : base("An identification failed.") {} /// /// Create a new with a custom message. /// /// The message to use. public IdentificationFailedException(string message) : base(message) {} /// /// The serialization constructor /// /// Serialization infos /// The serialization context protected IdentificationFailedException(SerializationInfo info, StreamingContext context) : base(info, context) { } } }