exception when GDS isn't installed
Status: Beta
Brought to you by:
masogato
I use GDS and your Java API to access a server remotely.
I've written some code that uses your API and which
sets the URL correctly for the remote query. Now I
uninstalled GDS on the machine that sends a query and I
received an exception from your code because when I
call "...= new JGDQuery(queryWord);" your code tries to
read the search_url key under
[HKEY_CURRENT_USER\Software\Google\GoogleDesktop\API]
which doesn't exist when you don't have GDS installed.
So to make your API work fpr remote queries without GDS
installed xou need to handle this exception or
predefine the key (I set it to the correct value on
startup in my implementation).