import org.eclipse.core.runtime.jobs.Job;
import org.simantics.db.exception.DatabaseException;
import org.simantics.db.function.DbConsumer;
+import org.simantics.db.indexing.exception.IndexingException;
/**
* @author Tuukka Lehtonen
try {
barrier.acquire();
if (err[0] != null) {
- if (err[0] instanceof DatabaseException)
+ if (err[0] instanceof IndexingException)
throw (DatabaseException) err[0];
- throw new DatabaseException(err[0]);
+ throw new IndexingException(err[0]);
}
} catch (InterruptedException e) {
- throw new DatabaseException(e);
+ throw new IndexingException(e);
}
}