Fix wrong exception throwing

This commit is contained in:
Klaus Reimer 2013-04-13 12:36:01 +02:00
parent 4a75492cb5
commit 8cf68c5970

View File

@ -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);
}
}
}