Class EventStoreException
The base class for the exceptions related to the event store.
Inheritance
System.Object
System.Exception
EventStoreException
Implements
System.Runtime.Serialization.ISerializable
Inherited Members
System.Exception.GetBaseException()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.ToString()
System.Exception.Data
System.Exception.HelpLink
System.Exception.HResult
System.Exception.InnerException
System.Exception.Message
System.Exception.Source
System.Exception.StackTrace
System.Exception.TargetSite
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
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 |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown. |
System.Runtime.Serialization.StreamingContext | context | The System.Runtime.Serialization.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 |
---|---|---|
System.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 |
---|---|---|
System.String | message | The exception message. |
System.Exception | innerException | The inner exception. |
Implements
System.Runtime.Serialization.ISerializable