Dan Streetman wrote:

To get a String Descriptor you have to talk to the device, and anytime you actually talk to a device you can get an exception (see the sync/async Submit methods).

That makes sense. Thanks. Could you give me an example of the sort of error that might occur? For instance, if the device were physically unplugged or ran out of battery power and then I tried to talk to it would I get this exception? But that would probably be a UsbDisconnectedException. Maybe a misbehaving device elsewhere on the chain? What causes these exceptions to occur in practice?


--
Elliotte Rusty Harold  [EMAIL PROTECTED]
XML in a Nutshell 3rd Edition Just Published!
http://www.cafeconleche.org/books/xian3/
http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
javax-usb-devel mailing list
javax-usb-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/javax-usb-devel

Reply via email to