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:
Luca Frosini 2017-05-02 09:56:24 +00:00
parent a78e2dc505
commit 1498750f9e
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}