210211212213214215216217218219220
} } catch (Exception e) { String sMsg = "Error accessing index:\n " + Val.chkStr(e.getMessage()); throw new CatalogIndexException(sMsg, e); } finally { indexAdapter.closeSearcher(searcher); } } /** * Loads catalog meta.
132133134135136137138139140141142
try { writer.flush(); } catch (Exception ef) {}; try { if ((adapter != null) && (searcher != null)) { adapter.closeSearcher(searcher); } } catch (Exception ef) {}; } }