X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.db.indexing%2Fsrc%2Forg%2Fsimantics%2Fdb%2Findexing%2Fexception%2FIndexCorruptedException.java;fp=bundles%2Forg.simantics.db.indexing%2Fsrc%2Forg%2Fsimantics%2Fdb%2Findexing%2Fexception%2FIndexCorruptedException.java;h=2e2324990b38acf4348797dfddd53971e2cd286b;hb=b14aabb9b1160cbbadef994db5778a45a13f5533;hp=0000000000000000000000000000000000000000;hpb=f4b65f5afe961edc8d5e1696f32c8efbb8ea48f6;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.db.indexing/src/org/simantics/db/indexing/exception/IndexCorruptedException.java b/bundles/org.simantics.db.indexing/src/org/simantics/db/indexing/exception/IndexCorruptedException.java new file mode 100644 index 000000000..2e2324990 --- /dev/null +++ b/bundles/org.simantics.db.indexing/src/org/simantics/db/indexing/exception/IndexCorruptedException.java @@ -0,0 +1,28 @@ +/******************************************************************************* + * Copyright (c) 2018 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: + * Semantum Oy - initial API and implementation + *******************************************************************************/ +package org.simantics.db.indexing.exception; + +import org.apache.lucene.index.CorruptIndexException; + +/** + * @author Jani Simomaa + * @since 1.36.0 + */ +public class IndexCorruptedException extends IndexingException { + + private static final long serialVersionUID = 6371395124643556058L; + + public IndexCorruptedException(String message, CorruptIndexException cause) { + super(message, cause); + } + +}