use of org.summerb.microservices.properties.api.exceptions.PropertyServiceUnexpectedException in project summerb by skarpushin.
the class PropertyServiceImpl method findSubjectProperties.
@Override
public Map<String, String> findSubjectProperties(String appName, String domainName, String subjectId) {
checkArgumentsHaveText(appName, domainName, subjectId);
try {
long appId = appNameAlias.getAliasFor(appName);
long domainId = domainNameAlias.getAliasFor(domainName);
return internalFindSubjectProperties(appId, domainId, subjectId);
} catch (Throwable t) {
throw new PropertyServiceUnexpectedException("Failed to find subject properties", t);
}
}
Aggregations