changed try/catch block to throws in header for reloadIndex()