Class EventStoreException
The base class for the exceptions related to the event store.
Inheritance
EventStoreException
Implements
Inherited Members
Namespace: Silverback.EventStore
Assembly: Silverback.EventSourcing.dll
Syntax
[Serializable]
public abstract class EventStoreException : SilverbackException, ISerializable
Constructors
| Improve this doc View sourceEventStoreException()
Initializes a new instance of the EventStoreException class.
Declaration
protected EventStoreException()
EventStoreException(SerializationInfo, StreamingContext)
Initializes a new instance of the EventStoreException class with the serialized data.
Declaration
protected EventStoreException(SerializationInfo info, StreamingContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| SerializationInfo | info | The SerializationInfo that holds the serialized object data about the exception being thrown. |
| StreamingContext | context | The StreamingContext that contains contextual information about the source or destination. |
EventStoreException(string)
Initializes a new instance of the EventStoreException class with the specified message.
Declaration
protected EventStoreException(string message)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message | The exception message. |
EventStoreException(string, Exception)
Initializes a new instance of the EventStoreException class with the specified message and inner exception.
Declaration
protected EventStoreException(string message, Exception innerException)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message | The exception message. |
| Exception | innerException | The inner exception. |