//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#: //ORIGINAL LINE: public void close() throws Exception public override void Close() { if (_indexReader != null) { _indexReader.close(); } }
public override void Run() { Statistics.reset(); if (_warmUpStores != null) { foreach (IterableStore store in _warmUpStores) { store.warmUpCache(); } } try { Scan(); } finally { try { Store.close(); } catch (Exception e) { Progress.failed(e); throw new Exception(e); } finally { Processor.close(); Progress.done(); } } Statistics.print(Name); }
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#: //ORIGINAL LINE: public void close() throws Exception public override void Close() { _documents.close(); }