Added exceptions block to indexing util