Class NoSuchItemException

An exception thrown by a lookup or lookup with update operation that does not find the lookup item and has no other means to communicate failure.

The typical scenario is a lookup by key in a dictionary with an indexer, see e.g. IDictionary<K,V>.this[K key]

Implements

System.Runtime.Serialization.ISerializable, System.Runtime.InteropServices._Exception

Bases

object, System.Exception

Property overview

Data, Inherited from System.Exception ,
HelpLink, Inherited from System.Exception ,
HResult, Inherited from System.Exception ,
InnerException, Inherited from System.Exception ,
IsTransient, Inherited from System.Exception ,
Message, Inherited from System.Exception ,
Source, Inherited from System.Exception ,
StackTrace, Inherited from System.Exception ,
TargetSite, Inherited from System.Exception

Constructor overview

NoSuchItemException() ,
NoSuchItemException(string message)

Method overview

Equals(object obj), Inherited from object ,
Finalize(), Inherited from object ,
GetBaseException(), Inherited from System.Exception ,
GetHashCode(), Inherited from object ,
GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context), Inherited from System.Exception ,
GetType(), Inherited from System.Exception ,
GetType(), Inherited from object ,
MemberwiseClone(), Inherited from object ,
ToString(), Inherited from System.Exception

Constructor details

NoSuchItemException() Create a simple exception with no further explanation.
NoSuchItemException(string message) Create the exception with an explanation of the reason.
Parameters:
message: