The UsbDevice Interface declares these three methods:

public String getSerialNumberString() throws UsbException, UnsupportedEncodingException, UsbDisconnectedException public String getManufacturerString() throws UsbException, UnsupportedEncodingException, UsbDisconnectedException public String getProductString() throws UsbException, UnsupportedEncodingException, UsbDisconnectedException

All three say that a UsbException might be thrown "If there was an error getting the UsbStringDescriptor." Could someone elaborate on that please? What sort of error might you encounter here? Is this common? For instance, might a device that only draws power from a USB port (e.g. a lamp) not respond to any method calls and thus cause this error? or would it not be recognized as a USB device in the first place?

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