Show / Hide Table of Contents

    Class ViewDisposedException

    An exception thrown when trying to access a view (a list view on a C5.IList`1 or a snapshot on a C5.IPersistentSorted`1) that has been invalidated by some earlier operation.

    The typical scenario is a view on a list that hash been invalidated by a call to Sort, Reverse or Shuffle on some other, overlapping view or the whole list.

    Inheritance
    System.Object
    System.Exception
    ViewDisposedException
    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 ViewDisposedException : Exception

    Constructors

    | Improve this Doc View Source

    ViewDisposedException()

    Create a simple exception with no further explanation.

    Declaration
    public ViewDisposedException()
    | Improve this Doc View Source

    ViewDisposedException(String)

    Create the exception with an explanation of the reason.

    Declaration
    public ViewDisposedException(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)