throw ApplicationException.exception(e, CommonMessageID.SERVICE_FAILURE.getMessage());
}
}
protected User getCachedUser(final String userId, final CommonRequestArgs cra) {
try {
User u = userCache.get(userId, new Callable<User>() {
@Override
public User call() throws Exception {
logger.info("Loading user in cache : {}",userId);
return userDao.readUser(userId, null, cra);
}