EntityType entityType = findParentType(metadataEntity); if (entityType == null) { throw new IllegalArgumentException(String.format("No known type found in the hierarchy of %s", metadataEntity));
EntityType entityType = findParentType(metadataEntity); if (entityType == null) { throw new IllegalArgumentException(String.format("No known type found in the hierarchy of %s", metadataEntity));