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
    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 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

    Extension Methods

    ExceptionExtensions.GetSuppressed(Exception)
    ExceptionExtensions.GetSuppressedAsList(Exception)
    ExceptionExtensions.AddSuppressed(Exception, Exception)
    Number.IsNumber(Object)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2019 Licensed to the Apache Software Foundation (ASF)