*******************************************************************************/
package org.simantics.db.impl.query;
+import org.simantics.db.exception.DatabaseException;
import org.simantics.db.impl.graph.ReadGraphImpl;
// barrier.incrementAndGet();
}
- final protected void dec(ReadGraphImpl graph) {
+ final protected void dec(ReadGraphImpl graph) throws DatabaseException {
// System.err.println("dec " + barrier.get());
if((--barrier) == 0) {
run(graph);
}
@Override
- public void exception(ReadGraphImpl graph, Throwable t) {
+ public void exception(ReadGraphImpl graph, Throwable t) throws DatabaseException {
throw new Error("Errors are not supported,", t);
}