--- /dev/null
+/*******************************************************************************\r
+ * Copyright (c) 2007, 2010 Association for Decentralized Information Management\r
+ * in Industry THTH ry.\r
+ * All rights reserved. This program and the accompanying materials\r
+ * are made available under the terms of the Eclipse Public License v1.0\r
+ * which accompanies this distribution, and is available at\r
+ * http://www.eclipse.org/legal/epl-v10.html\r
+ *\r
+ * Contributors:\r
+ * VTT Technical Research Centre of Finland - initial API and implementation\r
+ *******************************************************************************/\r
+package org.simantics.db.layer0.genericrelation;\r
+\r
+import org.simantics.db.exception.RuntimeDatabaseException;\r
+import org.simantics.db.exception.ServiceException;\r
+\r
+/**\r
+ * An exception thrown by {@link IndexedRelations} to indicate problems in index\r
+ * operation execution. The real problem can be found in the cause of this\r
+ * exception.\r
+ * \r
+ * @author Tuukka Lehtonen\r
+ */\r
+public class IndexException extends RuntimeDatabaseException {\r
+\r
+ private static final long serialVersionUID = -947989446491250462L;\r
+\r
+ public IndexException(ServiceException cause) {\r
+ super(cause);\r
+ }\r
+\r
+ public IndexException(String message, Throwable cause) {\r
+ super(message, cause);\r
+ }\r
+\r
+ public IndexException(String message) {\r
+ super(message);\r
+ }\r
+\r
+ public IndexException(Throwable cause) {\r
+ super(cause);\r
+ }\r
+\r
+}\r