6061626364656667686970
protected Object getPreviousTokenStream() { try { return tokenStreams.get(); } catch (NullPointerException npe) { if (tokenStreams == null) { throw new AlreadyClosedException("this Analyzer is closed"); } else { throw npe; } } }
7576777879808182838485
protected void setPreviousTokenStream(Object obj) { try { tokenStreams.set(obj); } catch (NullPointerException npe) { if (tokenStreams == null) { throw new AlreadyClosedException("this Analyzer is closed"); } else { throw npe; } } }
164165166167168169170171
/** * @throws AlreadyClosedException if this FieldsReader is closed */ protected final void ensureOpen() throws AlreadyClosedException { if (closed) { throw new AlreadyClosedException("this FieldsReader is closed"); } }
904905906907908909910
throw new ThreadInterruptedException(ie); } } if (closed) throw new AlreadyClosedException("this IndexWriter is closed"); }
144145146147148149150151
/** * @throws AlreadyClosedException if this IndexReader is closed */ protected final void ensureOpen() throws AlreadyClosedException { if (getRefCount() <= 0) { throw new AlreadyClosedException("this TaxonomyReader is closed"); } }
506507508509510511512513
* Verifies that this instance wasn't closed, or throws * {@link AlreadyClosedException} if it is. */ protected final void ensureOpen() { if (isClosed) { throw new AlreadyClosedException("The taxonomy writer has already been closed"); } }
209210211212213214215216
/** * @throws AlreadyClosedException if this FieldsReader is closed */ private void ensureOpen() throws AlreadyClosedException { if (closed) { throw new AlreadyClosedException("this FieldsReader is closed"); } }
775776777778779780781782
* closed. * @throws AlreadyClosedException if this IndexWriter is closed */ protected final void ensureOpen(boolean includePendingClose) throws AlreadyClosedException { if (closed || (includePendingClose && closing)) { throw new AlreadyClosedException("this IndexWriter is closed"); } }
10001001100210031004100510061007
throw new ThreadInterruptedException(ie); } } if (closed) { throw new AlreadyClosedException("this IndexWriter is closed"); } }
992993994995996997998999