Table of Contents

Class EventNotFoundException

Namespace
Opossum.Exceptions
Assembly
Opossum.dll

Exception thrown when expected events cannot be found in the event store

public class EventNotFoundException : EventStoreException, ISerializable
Inheritance
EventNotFoundException
Implements
Inherited Members

Constructors

EventNotFoundException()

Initializes a new instance of the EventNotFoundException class

public EventNotFoundException()

EventNotFoundException(string)

Initializes a new instance of the EventNotFoundException class with a specified error message

public EventNotFoundException(string message)

Parameters

message string

The message that describes the error

EventNotFoundException(string, Exception)

Initializes a new instance of the EventNotFoundException class with a specified error message and inner exception

public EventNotFoundException(string message, Exception innerException)

Parameters

message string

The message that describes the error

innerException Exception

The exception that is the cause of the current exception

EventNotFoundException(string, string)

Initializes a new instance of the EventNotFoundException class with a specified error message and query description

public EventNotFoundException(string message, string queryDescription)

Parameters

message string

The message that describes the error

queryDescription string

Description of the query that was used

EventNotFoundException(string, string, Exception)

Initializes a new instance of the EventNotFoundException class with a specified error message, query description, and inner exception

public EventNotFoundException(string message, string queryDescription, Exception innerException)

Parameters

message string

The message that describes the error

queryDescription string

Description of the query that was used

innerException Exception

The exception that is the cause of the current exception

Properties

QueryDescription

Gets the query that was used to search for events

public string? QueryDescription { get; }

Property Value

string