Fix three ex[c]eption typos.

This commit is contained in:
Christine Poerschke 2017-06-27 14:46:39 +01:00
parent 701c73d45a
commit 808171ac00
2 changed files with 3 additions and 3 deletions

View File

@ -235,7 +235,7 @@ public abstract class Analyzer implements Closeable {
}
filteredText = builder.toString();
} catch (IOException e) {
throw new IllegalStateException("Normalization threw an unexpected exeption", e);
throw new IllegalStateException("Normalization threw an unexpected exception", e);
}
final AttributeFactory attributeFactory = attributeFactory(fieldName);
@ -258,7 +258,7 @@ public abstract class Analyzer implements Closeable {
return term;
}
} catch (IOException e) {
throw new IllegalStateException("Normalization threw an unexpected exeption", e);
throw new IllegalStateException("Normalization threw an unexpected exception", e);
}
}

View File

@ -1032,7 +1032,7 @@ public class CoreContainer {
}
}
// If no CorruptIndexExeption, nothing we can try here
// If no CorruptIndexException, nothing we can try here
if (cause == null) throw original;
CoreInitFailedAction action = CoreInitFailedAction.valueOf(System.getProperty(CoreInitFailedAction.class.getSimpleName(), "none"));