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
messagestringThe 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
messagestringThe message that describes the error
innerExceptionExceptionThe 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
messagestringThe message that describes the error
queryDescriptionstringDescription 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
messagestringThe message that describes the error
queryDescriptionstringDescription of the query that was used
innerExceptionExceptionThe 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; }