//--------------------------------------------------------------------- // // Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner Microsoft, nkline //--------------------------------------------------------------------- namespace System.Data { using System; using System.Data; using System.Runtime.Serialization; using System.Security.Permissions; /// /// This exception is thrown when a requested object is not found in the store. /// [Serializable] public sealed class ObjectNotFoundException : DataException { /// /// Initializes a new instance of ObjectNotFoundException /// public ObjectNotFoundException() : base() { } /// /// Initializes a new instance of ObjectNotFoundException /// /// public ObjectNotFoundException(string message) : base(message) { } /// /// Constructor that takes a message and an inner exception /// /// /// public ObjectNotFoundException(string message, Exception innerException) : base(message, innerException) { } /// /// Initializes a new instance of ObjectNotFoundException /// /// /// private ObjectNotFoundException(SerializationInfo info, StreamingContext context) : base(info, context) { } } }