X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.db.layer0%2Fsrc%2Forg%2Fsimantics%2Fdb%2Flayer0%2Fgenericrelation%2FIndexException.java;h=9c7cfd2e19ed547a5378ed6fa214662a7689a9bc;hb=1f4133242efdb193390d76b0952ade00a3a88309;hp=06ba63d699def073b7835a2c2fab3a7fe0d211d7;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/genericrelation/IndexException.java b/bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/genericrelation/IndexException.java index 06ba63d69..9c7cfd2e1 100644 --- a/bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/genericrelation/IndexException.java +++ b/bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/genericrelation/IndexException.java @@ -1,44 +1,44 @@ -/******************************************************************************* - * 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.layer0.genericrelation; - -import org.simantics.db.exception.RuntimeDatabaseException; -import org.simantics.db.exception.ServiceException; - -/** - * An exception thrown by {@link IndexedRelations} to indicate problems in index - * operation execution. The real problem can be found in the cause of this - * exception. - * - * @author Tuukka Lehtonen - */ -public class IndexException extends RuntimeDatabaseException { - - private static final long serialVersionUID = -947989446491250462L; - - public IndexException(ServiceException cause) { - super(cause); - } - - public IndexException(String message, Throwable cause) { - super(message, cause); - } - - public IndexException(String message) { - super(message); - } - - public IndexException(Throwable cause) { - super(cause); - } - -} +/******************************************************************************* + * 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.layer0.genericrelation; + +import org.simantics.db.exception.RuntimeDatabaseException; +import org.simantics.db.exception.ServiceException; + +/** + * An exception thrown by {@link IndexedRelations} to indicate problems in index + * operation execution. The real problem can be found in the cause of this + * exception. + * + * @author Tuukka Lehtonen + */ +public class IndexException extends RuntimeDatabaseException { + + private static final long serialVersionUID = -947989446491250462L; + + public IndexException(ServiceException cause) { + super(cause); + } + + public IndexException(String message, Throwable cause) { + super(message, cause); + } + + public IndexException(String message) { + super(message); + } + + public IndexException(Throwable cause) { + super(cause); + } + +}