aboutsummaryrefslogtreecommitdiffstats
path: root/models-interactions/model-simulators/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'models-interactions/model-simulators/src/main/java')
-rw-r--r--models-interactions/model-simulators/src/main/java/org/onap/policy/simulators/CdsSimulator.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/models-interactions/model-simulators/src/main/java/org/onap/policy/simulators/CdsSimulator.java b/models-interactions/model-simulators/src/main/java/org/onap/policy/simulators/CdsSimulator.java
index f1785c8ee..3418780bc 100644
--- a/models-interactions/model-simulators/src/main/java/org/onap/policy/simulators/CdsSimulator.java
+++ b/models-interactions/model-simulators/src/main/java/org/onap/policy/simulators/CdsSimulator.java
@@ -91,9 +91,8 @@ public class CdsSimulator {
responseObserver.onNext(builder.build());
} catch (InvalidProtocolBufferException e) {
throw new SimulatorRuntimeException("Cannot convert ExecutionServiceOutput output", e);
- } catch (IOException e) {
- throw new SimulatorRuntimeException("Cannot read ExecutionServiceOutput from file", e);
} catch (InterruptedException e) {
+ Thread.currentThread().interrupt();
throw new SimulatorRuntimeException("Execution Interrupted", e);
}
}