resultJson.put("return_code", 400);
resultJson.put("error_message", "Urn format wrong!");
return ok(resultJson);
}
try {
<BUG>List<Map<String, Object>> constraints = DatasetInfoDao.getDatasetConstraintByDatasetUrn(urn);
</BUG>
resultJson.put("return_code", 200);
<BUG>resultJson.set("dataset_constraints", Json.toJson(constraints));
} catch (EmptyResultDataAccessException e) {</BUG>
Logger.debug("DataAccessException urn: " + urn, e);

resultJson.put("return_code", 400);
resultJson.put("error_message", "Urn format wrong!");
return ok(resultJson);
}
try {
List<DatasetOwnerRecord> owners = DatasetInfoDao.getDatasetOwnerByDatasetUrn(urn);
resultJson.put("return_code", 200);
resultJson.set("owners", Json.toJson(owners));
} catch (EmptyResultDataAccessException e) {
Logger.debug("DataAccessException urn: " + urn, e);
