Added setSearchURL handling and new exception