writeAllOutputs?throwChimeraTK::runtime_error("incrementDataFaultCounter with writeAllOutputs set true."):throwChimeraTK::runtime_error("incrementDataFaultCounter with writeAllOutputs set false.");
//writeAllOutputs ? throw ChimeraTK::runtime_error("incrementDataFaultCounter with writeAllOutputs set true.") : throw ChimeraTK::runtime_error("incrementDataFaultCounter with writeAllOutputs set false.");
if(writeAllOutputs&&!faultCounter){
//TO_DO -> the module should write all its outputs again (old values with data validity flag) -> Issue #87 in application core
throwChimeraTK::runtime_error("We will now execute incrementDataFaultCounter with module rewrite.");
for(automodule:moduleList){
module->writeAll();
}
//throw ChimeraTK::runtime_error("We will now execute incrementDataFaultCounter with module rewrite.");