Skip to content
Snippets Groups Projects
Commit b9ad9a48 authored by Simon Ehrenstein's avatar Simon Ehrenstein
Browse files

Wrap workload generation termination in IllegalStateException

parent 08f1ac56
No related branches found
No related tags found
1 merge request!6Add Distributed Workload Generator
...@@ -117,8 +117,8 @@ public abstract class AbstractWorkloadGenerator<T extends IMonitoringRecord> ...@@ -117,8 +117,8 @@ public abstract class AbstractWorkloadGenerator<T extends IMonitoringRecord>
LOGGER.info("Terminating now..."); LOGGER.info("Terminating now...");
this.stop(); this.stop();
} catch (final InterruptedException e) { } catch (final InterruptedException e) {
// TODO Auto-generated catch block LOGGER.error("", e);
e.printStackTrace(); throw new IllegalStateException("Error when terminating the workload generation.");
} }
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment