it.uniroma2.art.lime.profiler.AmbiguousSemanticModelException Maven / Gradle / Ivy
package it.uniroma2.art.lime.profiler;
import java.util.Set;
import org.eclipse.rdf4j.model.IRI;
import org.eclipse.rdf4j.model.Resource;
import com.google.common.collect.ImmutableSet;
public class AmbiguousSemanticModelException extends ProfilerException {
private static final long serialVersionUID = -6345684491780265658L;
private Resource dataset;
private Set semanticModels;
public AmbiguousSemanticModelException(Resource dataset, Set semanticModels) {
super("Dataset \"" + dataset + "\" has ambiguous semantic models: " + semanticModels);
this.dataset = dataset;
this.semanticModels = ImmutableSet.copyOf(semanticModels);
}
public Resource getDataset() {
return dataset;
}
public Set getSemanticModels() {
return semanticModels;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy