Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.help.base/src/org/eclipse/help/internal/search/SearchIndex.java')
-rw-r--r--org.eclipse.help.base/src/org/eclipse/help/internal/search/SearchIndex.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.help.base/src/org/eclipse/help/internal/search/SearchIndex.java b/org.eclipse.help.base/src/org/eclipse/help/internal/search/SearchIndex.java
index 6085bb53d..0903ed4ef 100644
--- a/org.eclipse.help.base/src/org/eclipse/help/internal/search/SearchIndex.java
+++ b/org.eclipse.help.base/src/org/eclipse/help/internal/search/SearchIndex.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2016 IBM Corporation and others.
+ * Copyright (c) 2000, 2017 IBM Corporation and others.
* 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
@@ -199,7 +199,7 @@ public class SearchIndex implements IHelpSearchIndex {
try {
DirectoryReader.open(luceneDirectory);
- } catch (IndexFormatTooOldException | IndexNotFoundException e) {
+ } catch (IndexFormatTooOldException | IndexNotFoundException | IllegalArgumentException e) {
deleteDir(indexDir);
indexDir.delete();
} catch (IOException e) {

Back to the top