Show / Hide Table of Contents

    Class ExceptionExtensions

    Extensions to the class to allow for adding and retrieving suppressed exceptions, like you can do in Java.

    Inheritance
    System.Object
    ExceptionExtensions
    Namespace: Lucene.Net.Support
    Assembly: Lucene.Net.dll
    Syntax
    public static class ExceptionExtensions : object

    Fields

    | Improve this Doc View Source

    SUPPRESSED_EXCEPTIONS_KEY

    Declaration
    public static readonly string SUPPRESSED_EXCEPTIONS_KEY
    Field Value
    Type Description
    System.String

    Methods

    | Improve this Doc View Source

    AddSuppressed(Exception, Exception)

    Declaration
    public static void AddSuppressed(this Exception e, Exception exception)
    Parameters
    Type Name Description
    Exception e
    Exception exception
    | Improve this Doc View Source

    GetSuppressed(Exception)

    Declaration
    public static Exception[] GetSuppressed(this Exception e)
    Parameters
    Type Name Description
    Exception e
    Returns
    Type Description
    Exception[]
    | Improve this Doc View Source

    GetSuppressedAsList(Exception)

    Declaration
    public static IList<Exception> GetSuppressedAsList(this Exception e)
    Parameters
    Type Name Description
    Exception e
    Returns
    Type Description
    IList<Exception>
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)