Browse Source
Merge pull request #9282 from abpframework/auto-merge/rel-4-3/435
Merge branch dev with rel-4.3
pull/9292/head
liangshiwei
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
framework/src/Volo.Abp.ExceptionHandling/Volo/Abp/Domain/Entities/EntityNotFoundException.cs
|
|
@ -49,7 +49,7 @@ namespace Volo.Abp.Domain.Entities |
|
|
public EntityNotFoundException(Type entityType, object id, Exception innerException) |
|
|
public EntityNotFoundException(Type entityType, object id, Exception innerException) |
|
|
: base( |
|
|
: base( |
|
|
id == null |
|
|
id == null |
|
|
? $"There is no such an entity given given id. Entity type: {entityType.FullName}" |
|
|
? $"There is no such an entity given id. Entity type: {entityType.FullName}" |
|
|
: $"There is no such an entity. Entity type: {entityType.FullName}, id: {id}", |
|
|
: $"There is no such an entity. Entity type: {entityType.FullName}, id: {id}", |
|
|
innerException) |
|
|
innerException) |
|
|
{ |
|
|
{ |
|
|
|