using System; using System.Runtime.Serialization; namespace Kyoo.Abstractions.Models.Exceptions { /// /// An exception raised when an item could not be found. /// [Serializable] public class ItemNotFoundException : Exception { /// /// Create a default with no message. /// public ItemNotFoundException() { } /// /// Create a new with a message /// /// The message of the exception public ItemNotFoundException(string message) : base(message) { } /// /// The serialization constructor /// /// Serialization infos /// The serialization context protected ItemNotFoundException(SerializationInfo info, StreamingContext context) : base(info, context) { } } }