use of org.neo4j.ogm.exception.core.BaseClassNotFoundException in project neo4j-ogm by neo4j.
the class EntityFactory method resolve.
private String resolve(String... taxa) {
String fqn = taxaLeafClass.get(Arrays.toString(taxa));
if (fqn == null) {
ClassInfo classInfo = metadata.resolve(taxa);
if (classInfo == null) {
throw new BaseClassNotFoundException(Arrays.toString(taxa));
}
fqn = classInfo.name();
taxaLeafClass.put(Arrays.toString(taxa), fqn);
}
return fqn;
}
Aggregations