dataMediaPairDos = dataMediaPairDao.listByMultiId(identities);
if (dataMediaPairDos.isEmpty()) {
String exceptionCause = "couldn't query any dataMediaPair by dataMediaPairIds:"
+ Arrays.toString(identities);
logger.error("ERROR ## " + exceptionCause);
throw new ManagerException(exceptionCause);
}
}
dataMediaPairs = doToModel(dataMediaPairDos);
} catch (Exception e) {
logger.error("ERROR ## query dataMediaPairs has an exception!", e);
throw new ManagerException(e);
}
return dataMediaPairs;
}