Fixing specific exception management
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@148229 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
a78e2dc505
commit
1498750f9e
|
@ -86,7 +86,7 @@ public abstract class EntityManagement<E extends Entity> extends
|
|||
String error = String.format(
|
||||
"A %s with UUID %s already exist", erType,
|
||||
uuid.toString());
|
||||
throw new EntityAlreadyPresentException(error);
|
||||
throw getSpecificERAlreadyPresentException(error);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue