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. C5.IDictionary`2.Item(`0)
Inheritance
System.Object
System.Exception
NoSuchItemException
Inherited Members
System.Exception.GetBaseException()
System.Exception.ToString()
System.Exception.Data
System.Exception.HelpLink
System.Exception.HResult
System.Exception.InnerException
System.Exception.Message
System.Exception.Source
System.Exception.StackTrace
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Lucene.Net.Support.C5
Assembly: Lucene.Net.dll
Syntax
public class NoSuchItemException : Exception
Constructors
| Improve this Doc View SourceNoSuchItemException()
Create a simple exception with no further explanation.
Declaration
public NoSuchItemException()
NoSuchItemException(String)
Create the exception with an explanation of the reason.
Declaration
public NoSuchItemException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message |