convert THROW to OPM_THROW

This commit is contained in:
Andreas Lauser
2013-08-28 13:59:03 +02:00
parent 0eaf62c7e3
commit 19e5d5cea2
69 changed files with 315 additions and 315 deletions

View File

@@ -406,7 +406,7 @@ int main ()
well_conditions_met = well_collection.conditionsMet(well_state.bhp(), well_resflowrates_phase, well_surflowrates_phase);
++well_iter;
if (!well_conditions_met && well_iter == max_well_iterations) {
THROW("Conditions not met within " << max_well_iterations<< " iterations.");
OPM_THROW(std::runtime_error, "Conditions not met within " << max_well_iterations<< " iterations.");
}
}
/// \internal[check well conditions]