X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.db.impl%2Fsrc%2Forg%2Fsimantics%2Fdb%2Fimpl%2Fquery%2FIntProcedure.java;h=4a7bbdb28acf9e52a4e68149a51c4c0add5c3c3e;hb=785f638bab44e70ec6103c3891daea95bcda9a07;hp=7aac5b2263417078f06aa8aa93a491cb09df5f12;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.db.impl/src/org/simantics/db/impl/query/IntProcedure.java b/bundles/org.simantics.db.impl/src/org/simantics/db/impl/query/IntProcedure.java index 7aac5b226..4a7bbdb28 100644 --- a/bundles/org.simantics.db.impl/src/org/simantics/db/impl/query/IntProcedure.java +++ b/bundles/org.simantics.db.impl/src/org/simantics/db/impl/query/IntProcedure.java @@ -1,23 +1,24 @@ -/******************************************************************************* - * Copyright (c) 2007, 2010 Association for Decentralized Information Management - * in Industry THTH ry. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * VTT Technical Research Centre of Finland - initial API and implementation - *******************************************************************************/ -package org.simantics.db.impl.query; - -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); - -} +/******************************************************************************* + * Copyright (c) 2007, 2010 Association for Decentralized Information Management + * in Industry THTH ry. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * VTT Technical Research Centre of Finland - initial API and implementation + *******************************************************************************/ +package org.simantics.db.impl.query; + +import org.simantics.db.exception.DatabaseException; +import org.simantics.db.impl.graph.ReadGraphImpl; + + +public interface IntProcedure { + + void execute(ReadGraphImpl graph, int i) throws DatabaseException; + void finished(ReadGraphImpl graph) throws DatabaseException; + void exception(ReadGraphImpl graph, Throwable throwable) throws DatabaseException; + +}