improved exception handling for fields with vocabulary

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/catalogue-ws@148346 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Costantino Perciante 2017-05-08 08:35:14 +00:00
parent 5d5b872f08
commit d644ee2f22
1 changed files with 1 additions and 1 deletions

View File

@ -750,7 +750,7 @@ public class CatalogueUtils {
}
if(!match)
throw new Exception("Field with key '" + key + " doesn't match any of the vocabulary's values!");
throw new Exception("Field with key '" + key + "' has a value '" + value + "' but it doesn't match any of the vocabulary's values!");
}