public LibUsbException(final int errorCode){
  super(String.format("USB error %d: %s",-errorCode,LibUsb.strError(errorCode)));
  this.errorCode=errorCode;
}

public LibUsbException ( final int errorCode ) { super ( String . format ( "USB error %d: %s" , - errorCode , LibUsb . strError ( errorCode ) ) ) ; this . errorCode = errorCode ; }
constructs a libusb exception which just outputs the error code and the error message from libusb .
