ObjectNotFoundException.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataEntity / System / Data / ObjectNotFoundException.cs / 1305376 / ObjectNotFoundException.cs

                            //---------------------------------------------------------------------- 
// 
//      Copyright (c) Microsoft Corporation.  All rights reserved.
// 
// 
// @owner  [....], 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) 
        { } 
    }
} 


// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//---------------------------------------------------------------------- 
// 
//      Copyright (c) Microsoft Corporation.  All rights reserved.
// 
// 
// @owner  [....], 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) 
        { } 
    }
} 


// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
                        

Link Menu

Network programming in C#, Network Programming in VB.NET, Network Programming in .NET
This book is available now!
Buy at Amazon US or
Buy at Amazon UK