public class UsbException
extends java.lang.Exception
| Constructor and Description |
|---|
UsbException(org.usb4java.Device dev,
java.lang.String msg)
Constructs an instance from the given device and error message.
|
UsbException(org.usb4java.Device dev,
java.lang.String msg,
int errNum)
Constructs an instance from the given device, error message and error number.
|
UsbException(java.lang.String msg)
Constructs an instance from the given error message.
|
UsbException(java.lang.String msg,
int errNum)
Constructs an instance from error message and error number.
|
public UsbException(java.lang.String msg)
msg - The error message.public UsbException(org.usb4java.Device dev,
java.lang.String msg)
dev - The device.msg - The error message.public UsbException(java.lang.String msg,
int errNum)
msg - The error message.errNum - The error number.public UsbException(org.usb4java.Device dev,
java.lang.String msg,
int errNum)
dev - The device.msg - The error message.errNum - The error number.