use of org.molgenis.data.importer.emx.exception.EmxImportException in project molgenis by molgenis.
the class EmxMetadataParser method setPackage.
private void setPackage(IntermediateParseResults intermediateResults, int rowIndex, String emxEntityPackage, EntityType entityType) {
Package p = intermediateResults.getPackage(emxEntityPackage);
if (p == null) {
throw new EmxImportException(new UnknownPackageException(emxEntityPackage), EMX_ENTITIES, rowIndex);
}
entityType.setPackage(p);
}
Aggregations