Fix wrong exception throwing
This commit is contained in:
parent
4a75492cb5
commit
8cf68c5970
@ -150,7 +150,8 @@ public final class Services implements UsbServices
|
||||
}
|
||||
catch (final UsbException e)
|
||||
{
|
||||
throw new Error("Unable to create USB services: " + e, e);
|
||||
throw new ServicesException("Unable to create USB services: "
|
||||
+ e, e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user