Show / Hide Table of Contents

    Class AssertionException

    Thrown to indicate that an assertion has failed.

    Inheritance
    System.Object
    AssertionException
    Namespace: Lucene.Net.Diagnostics
    Assembly: Lucene.Net.TestFramework.dll
    Syntax
    public class AssertionException : Exception

    Constructors

    | Improve this Doc View Source

    AssertionException()

    Constructs an AssertionException with no detail message.

    Declaration
    public AssertionException()
    | Improve this Doc View Source

    AssertionException(String)

    Constructs an AssertionException with the provided message.

    Declaration
    public AssertionException(string message)
    Parameters
    Type Name Description
    System.String message

    Value to be used as the assertion message.

    | Improve this Doc View Source

    AssertionException(String, Exception)

    Constructs an AssertionException with the provided message and innerException.

    Declaration
    public AssertionException(string message, Exception innerException)
    Parameters
    Type Name Description
    System.String message

    Value to be used as the assertion message.

    Exception innerException

    The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.

    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)