Bug #2307
rsb service call throws java.lang.InterruptedException?
Status: | Rejected | Start date: | 05/31/2015 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | Java | |||
Target version: | rsb-0.13 |
Description
In the new rsb-java master, rsb service calls may throw an InterruptedException, which they didn't before.
That seems to change behavior compared to 0.12. Is this intended? If so, you may want to inform the users.
In jenkins I get the following errors:
[ERROR] /media/local/jenkins/jobs/marytts-remote-master-toolkit-lsp-famula-nightly/workspace/src/main/java/de/unibi/citec/clf/maryremote/MetaOutputPSAdapter.java:[62,55]
unreported exception java.lang.InterruptedException; must be caught or declared to be thrown
This is the code snippet causing the error:
try {
propertiesRemoteServerRSB.call("speechRecEnable", mute ? "0" : "1");
} catch (RSBException ex) {
logger.error("Unable to enable/disable PocketSphinx.", ex);
} catch (ExecutionException ex) {
logger.error("Unable to enable/disable PocketSphinx.", ex);
} catch (TimeoutException ex) {
logger.warn("Unable to enable/disable PocketSphinx.");
}
History
#1 Updated by J. Wienke almost 8 years ago
- Status changed from New to Rejected
Yes, that is intended and explained in the news section:
http://docs.cor-lab.de//rsb-manual/trunk/html/news.html
#2 Updated by J. Wienke almost 8 years ago
- Category set to Java
- Target version set to rsb-0.13