for (String property : propertyList) {
if (!queryData.containsKey(property))
throw new PreconditionFailedException(
- property + " property is not include");
+ "query does not contatin " + property + " property");
if (queryData.get(property) == null)
throw new PreconditionFailedException(
property + " param is null");
for (String property : propertyList) {
if (!payloadData.containsKey(property))
throw new PreconditionFailedException(
- property + " property is not include");
+ "payload does not contain" + property + " property");
if (payloadData.get(property) == null)
throw new PreconditionFailedException(
- property + " param is null");
+ property + " param is null in the payload");
}
return true;
}