Class EntityAlreadyExistsException
Exception indicating that an entity with a given identifier already exists.
Inheritance
Namespace: Reaqtor.QueryEngine
Assembly: Reaqtor.QueryEngine.dll
Syntax
public class EntityAlreadyExistsException : ArgumentException
Constructors
EntityAlreadyExistsException()
Creates a new instance of the EntityAlreadyExistsException class.
Declaration
public EntityAlreadyExistsException()
EntityAlreadyExistsException(SerializationInfo, StreamingContext)
Creates a new instance of the EntityAlreadyExistsException class from serialized state.
Declaration
protected EntityAlreadyExistsException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | Serialization information to deserialize state from. |
System.Runtime.Serialization.StreamingContext | context | Streaming context to deserialize state from. |
EntityAlreadyExistsException(String)
Creates a new EntityAlreadyExistsException instance with the specified message
.
Declaration
public EntityAlreadyExistsException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message on the exception. |
EntityAlreadyExistsException(String, Exception)
Creates a new EntityAlreadyExistsException instance with the specified message
and the specified innerException
.
Declaration
public EntityAlreadyExistsException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message on the exception. |
System.Exception | innerException | The inner exception. |
EntityAlreadyExistsException(Uri, ReactiveEntityKind, Uri, String)
Creates a new instance of the EntityAlreadyExistsException class with the specified information about the entity.
Declaration
public EntityAlreadyExistsException(Uri uri, ReactiveEntityKind type, Uri qeId, string paramName)
Parameters
Type | Name | Description |
---|---|---|
System.Uri | uri | URI identifying the reactive entity that already exists. |
ReactiveEntityKind | type | Reactive entity kind. |
System.Uri | qeId | URI identifier the query engine whose registry already contains an entity with the specified URI. |
System.String | paramName | Parameter name of the argument containing the URI that caused the conflict. |
EntityAlreadyExistsException(Uri, ReactiveEntityKind, Uri, String, Exception)
Creates a new instance of the EntityAlreadyExistsException class with the specified information about the entity and an inner exception.
Declaration
public EntityAlreadyExistsException(Uri uri, ReactiveEntityKind type, Uri qeId, string paramName, Exception inner)
Parameters
Type | Name | Description |
---|---|---|
System.Uri | uri | URI identifying the reactive entity that already exists. |
ReactiveEntityKind | type | Reactive entity kind. |
System.Uri | qeId | URI identifier the query engine whose registry already contains an entity with the specified URI. |
System.String | paramName | Parameter name of the argument containing the URI that caused the conflict. |
System.Exception | inner | Inner exception with additional information about the naming conflict. |
Properties
EntityType
Gets the entity kind of the reactive entity that already exists.
Declaration
public ReactiveEntityKind EntityType { get; }
Property Value
Type | Description |
---|---|
ReactiveEntityKind |
EntityUri
Gets the URI identifying the reactive entity that already exists.
Declaration
public Uri EntityUri { get; }
Property Value
Type | Description |
---|---|
System.Uri |
QueryEngineUri
Gets the URI identifying the query engine whose registry already contains an entity with EntityUri as the entity URI.
Declaration
public Uri QueryEngineUri { get; }
Property Value
Type | Description |
---|---|
System.Uri |
Methods
GetObjectData(SerializationInfo, StreamingContext)
Sets the System.Runtime.Serialization.SerializationInfo object with the parameter name and additional exception information.
Declaration
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | The object that holds the serialized object data. |
System.Runtime.Serialization.StreamingContext | context | The contextual information about the source or destination. |