convert THROW to OPM_THROW

This commit is contained in:
Andreas Lauser
2013-08-28 13:59:03 +02:00
parent 408d3389c3
commit cb76a0fd7f
27 changed files with 169 additions and 169 deletions

View File

@@ -34,7 +34,7 @@ namespace Opm
pvt_.init(deck);
satprops_.init(deck, grid, 200);
if (pvt_.numPhases() != satprops_.numPhases()) {
THROW("IncompPropertiesFromDeck::IncompPropertiesFromDeck() - Inconsistent number of phases in pvt data ("
OPM_THROW(std::runtime_error, "IncompPropertiesFromDeck::IncompPropertiesFromDeck() - Inconsistent number of phases in pvt data ("
<< pvt_.numPhases() << ") and saturation-dependent function data (" << satprops_.numPhases() << ").");
}
}