Class EntityNotFoundException
This exception is thrown if an entity excepted to be found but not found.
Inheritance
System.Object
EntityNotFoundException
Namespace: Volo.Abp.Domain.Entities
Assembly: Volo.Abp.Ddd.Domain.dll
Syntax
public class EntityNotFoundException : AbpException
Constructors
EntityNotFoundException()
Creates a new EntityNotFoundException object.
Declaration
public EntityNotFoundException()
EntityNotFoundException(String)
Creates a new EntityNotFoundException object.
Declaration
public EntityNotFoundException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | Exception message |
EntityNotFoundException(String, Exception)
Creates a new EntityNotFoundException object.
Declaration
public EntityNotFoundException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | Exception message |
Exception | innerException | Inner exception |
EntityNotFoundException(Type)
Creates a new EntityNotFoundException object.
Declaration
public EntityNotFoundException(Type entityType)
Parameters
Type | Name | Description |
---|---|---|
Type | entityType |
EntityNotFoundException(Type, Object)
Creates a new EntityNotFoundException object.
Declaration
public EntityNotFoundException(Type entityType, object id)
Parameters
Type | Name | Description |
---|---|---|
Type | entityType | |
System.Object | id |
EntityNotFoundException(Type, Object, Exception)
Creates a new EntityNotFoundException object.
Declaration
public EntityNotFoundException(Type entityType, object id, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
Type | entityType | |
System.Object | id | |
Exception | innerException |
Properties
EntityType
Type of the entity.
Declaration
public Type EntityType { get; set; }
Property Value
Type | Description |
---|---|
Type |
Id
Id of the Entity.
Declaration
public object Id { get; set; }
Property Value
Type | Description |
---|---|
System.Object |