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

@@ -45,7 +45,7 @@ namespace Opm
if (deck.hasField("ROCKTAB")) {
const table_t& rt = deck.getROCKTAB().rocktab_;
if (rt.size() != 1) {
THROW("Can only handle a single region in ROCKTAB.");
OPM_THROW(std::runtime_error, "Can only handle a single region in ROCKTAB.");
}
const int n = rt[0][0].size();
p_.resize(n);