throw new IndexException(e.getLocalizedMessage(), e); throw new IndexException(e.getLocalizedMessage(), e);
throw new IndexModificationException(e.getLocalizedMessage(), e);
throw new IndexException(e.getLocalizedMessage(), e);
throw new IndexException(e.getLocalizedMessage(), e);
throw new IndexException(e.getLocalizedMessage(), e); throw new IndexException(e.getLocalizedMessage(), e);
throw new IndexException(e.getLocalizedMessage(), e);
/** * {@inheritDoc} */ public IndexReader getIndexReader() throws IndexException { try { if (this.indexReader == null) { this.indexReader = IndexReader.open(this.indexDirectiry); } else if (!this.indexReader.isCurrent()) { this.indexReader = this.indexReader.reopen(); } } catch (final CorruptIndexException e) { throw new IndexException(e.getLocalizedMessage(), e); } catch (final IOException e) { throw new IndexException(e.getLocalizedMessage(), e); } return this.indexReader; }
/** * @throws IndexException * @see org.xcmis.search.lucene.AbstractLuceneQueryableIndexStorage#getIndexReader() */ @Override protected IndexReader getIndexReader() throws IndexException { try { // reopen if need if (this.indexReader == null) { this.indexReader = IndexReader.open(this.ramDirectory); } else if (!this.indexReader.isCurrent()) { this.indexReader = this.indexReader.reopen(); } } catch (CorruptIndexException e) { throw new IndexException(e.getLocalizedMessage(), e); } catch (IOException e) { throw new IndexException(e.getLocalizedMessage(), e); } return indexReader; }
throw new IndexException(e.getLocalizedMessage(), e);
throw new IndexException(e.getLocalizedMessage(), e);
LOG.error(ignore.getLocalizedMessage(), ignore);