]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.db.impl/src/org/simantics/db/impl/query/IntProcedure.java
Multiple reader thread support for db client
[simantics/platform.git] / bundles / org.simantics.db.impl / src / org / simantics / db / impl / query / IntProcedure.java
index 0a9ccad900745d8af16d98fb8a321bae5bf18f98..4a7bbdb28acf9e52a4e68149a51c4c0add5c3c3e 100644 (file)
  *******************************************************************************/
 package org.simantics.db.impl.query;
 
  *******************************************************************************/
 package org.simantics.db.impl.query;
 
+import org.simantics.db.exception.DatabaseException;
 import org.simantics.db.impl.graph.ReadGraphImpl;
 
 
 public interface IntProcedure {
 
 import org.simantics.db.impl.graph.ReadGraphImpl;
 
 
 public interface IntProcedure {
 
-    void execute(ReadGraphImpl graph, int i);
-    void finished(ReadGraphImpl graph);
-    void exception(ReadGraphImpl graph, Throwable throwable);
+    void execute(ReadGraphImpl graph, int i) throws DatabaseException;
+    void finished(ReadGraphImpl graph) throws DatabaseException;
+    void exception(ReadGraphImpl graph, Throwable throwable) throws DatabaseException;
     
 }
     
 }