Fixed error message on exception
This commit is contained in:
parent
4ec7d40f7b
commit
5b97c45a4c
|
@ -541,7 +541,7 @@ public abstract class EntityManagement<E extends Entity, ET extends EntityType>
|
||||||
try {
|
try {
|
||||||
element = ElementManagementUtility.getAnyElementByUUID(oDatabaseDocument, referenceUUID);
|
element = ElementManagementUtility.getAnyElementByUUID(oDatabaseDocument, referenceUUID);
|
||||||
}catch (ResourceRegistryException e) {
|
}catch (ResourceRegistryException e) {
|
||||||
String error = String.format("No instace with UUID % exists", referenceUUID);
|
String error = String.format("No instace with UUID %s exists", referenceUUID.toString());
|
||||||
throw new InvalidQueryException(error);
|
throw new InvalidQueryException(error);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue