Replace THROW by OPM_THROW

This commit is contained in:
Andreas Lauser
2013-09-03 15:00:29 +02:00
parent 6a6d0c9b28
commit 7e8d941a6f
11 changed files with 53 additions and 53 deletions

View File

@@ -85,7 +85,7 @@ namespace Opm
}
}
if (wix == wells.number_of_wells) {
THROW("Could not find a match for well " << wpl[i].well_ << " from WPOLYMER.");
OPM_THROW(std::runtime_error, "Could not find a match for well " << wpl[i].well_ << " from WPOLYMER.");
}
for (int j = wells.well_connpos[wix]; j < wells.well_connpos[wix+1]; ++j) {
const int perf_cell = wells.well_cells[j];