Menu

#1 exception when GDS isn't installed

open
nobody
None
5
2005-07-08
2005-07-08
Maso Gato
No

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).

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.