Class EntityNotFoundException
Exception indicating that an entity with a given identifier was not found.
Inheritance
Namespace: Reaqtor.QueryEngine
Assembly: Reaqtor.QueryEngine.dll
Syntax
public class EntityNotFoundException : ArgumentException
Constructors
EntityNotFoundException()
Creates a new instance of the EntityNotFoundException class.
Declaration
public EntityNotFoundException()
EntityNotFoundException(SerializationInfo, StreamingContext)
Creates a new instance of the EntityNotFoundException class from serialized state.
Declaration
protected EntityNotFoundException(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. |
EntityNotFoundException(String)
Creates a new EntityNotFoundException instance with the specified message.
Declaration
public EntityNotFoundException(string message)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | message | The message on the exception. |
EntityNotFoundException(String, Exception)
Creates a new EntityNotFoundException instance with the specified message and the specified innerException.
Declaration
public EntityNotFoundException(string message, Exception innerException)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | message | The message on the exception. |
| System.Exception | innerException | The inner exception. |
EntityNotFoundException(Uri, ReactiveEntityKind, Uri, String)
Creates a new instance of the EntityNotFoundException class with the specified information about the entity.
Declaration
public EntityNotFoundException(Uri uri, ReactiveEntityKind type, Uri qeId, string paramName)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Uri | uri | URI identifying the reactive entity that was not found. |
| ReactiveEntityKind | type | Reactive entity kind. |
| System.Uri | qeId | URI identifier the query engine whose registry does not contain an entity with the specified URI. |
| System.String | paramName | Parameter name of the argument containing the URI of the entity that was not found. |
EntityNotFoundException(Uri, ReactiveEntityKind, Uri, String, Exception)
Creates a new instance of the EntityNotFoundException class with the specified information about the entity and an inner exception.
Declaration
public EntityNotFoundException(Uri uri, ReactiveEntityKind type, Uri qeId, string paramName, Exception inner)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Uri | uri | URI identifying the reactive entity that was not found. |
| ReactiveEntityKind | type | Reactive entity kind. |
| System.Uri | qeId | URI identifier the query engine whose registry does not contain an entity with the specified URI. |
| System.String | paramName | Parameter name of the argument containing the URI of the entity that was not found. |
| System.Exception | inner | Inner exception with additional information about the lookup failure. |
Properties
EntityType
Gets the entity kind of the reactive entity that was not found.
Declaration
public ReactiveEntityKind EntityType { get; }
Property Value
| Type | Description |
|---|---|
| ReactiveEntityKind |
EntityUri
Gets the URI identifying the reactive entity that was not found.
Declaration
public Uri EntityUri { get; }
Property Value
| Type | Description |
|---|---|
| System.Uri |
QueryEngineUri
Gets the URI identifying the query engine whose registry does not contain 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. |