mirror of https://github.com/rusefi/usb4java.git
Corrected placement of exception throw.
This commit is contained in:
parent
a4ec2a9d68
commit
7b4194c285
|
@ -161,9 +161,11 @@ final class PipeQueueProcessor extends Thread
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
default:
|
||||||
|
throw new UsbException("Unsupported endpoint type: " + type);
|
||||||
}
|
}
|
||||||
|
|
||||||
throw new UsbException("Unsupported endpoint type: " + type);
|
|
||||||
}
|
}
|
||||||
catch (final UsbException e)
|
catch (final UsbException e)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue