Show / Hide Table of Contents

    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
    NoSuchItemException
    Namespace: Lucene.Net.Support.C5
    Assembly: Lucene.Net.dll
    Syntax
    public class NoSuchItemException : Exception

    Constructors

    | Improve this Doc View Source

    NoSuchItemException()

    Create a simple exception with no further explanation.

    Declaration
    public NoSuchItemException()
    | Improve this Doc View Source

    NoSuchItemException(String)

    Create the exception with an explanation of the reason.

    Declaration
    public NoSuchItemException(string message)
    Parameters
    Type Name Description
    System.String message
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)