Make searching catch and return exceptions.