1 //---------------------------------------------------------------------
2 // <copyright file="ObjectNotFoundException.cs" company="Microsoft">
3 // Copyright (c) Microsoft Corporation. All rights reserved.
6 // @owner [....], nkline
7 //---------------------------------------------------------------------
13 using System.Runtime.Serialization;
14 using System.Security.Permissions;
17 /// This exception is thrown when a requested object is not found in the store.
20 public sealed class ObjectNotFoundException : DataException
23 /// Initializes a new instance of ObjectNotFoundException
25 public ObjectNotFoundException()
30 /// Initializes a new instance of ObjectNotFoundException
32 /// <param name="message"></param>
33 public ObjectNotFoundException(string message)
38 /// Constructor that takes a message and an inner exception
40 /// <param name="message"></param>
41 /// <param name="innerException"></param>
42 public ObjectNotFoundException(string message, Exception innerException)
43 : base(message, innerException)
47 /// Initializes a new instance of ObjectNotFoundException
49 /// <param name="info"></param>
50 /// <param name="context"></param>
51 private ObjectNotFoundException(SerializationInfo info, StreamingContext context)