use the error macros from opm-common

This commit is contained in:
Andreas Lauser 2015-10-08 11:49:52 +02:00
parent 1d63276cfb
commit ca4da50902
2 changed files with 4 additions and 4 deletions

View File

@ -121,7 +121,7 @@ public:
*/
const DimMatrix& intrinsicPermeability() const
{
OPM_THROW(Opm::NotAvailable,
OPM_THROW(Opm::NotImplemented,
"The ECL transmissibility module does not provide an explicit intrinsic permeability");
}
@ -133,7 +133,7 @@ public:
*/
const EvalDimVector& potentialGrad(int phaseIdx) const
{
OPM_THROW(Opm::NotAvailable,
OPM_THROW(Opm::NotImplemented,
"The ECL transmissibility module does not provide explicit potential gradients");
}
@ -145,7 +145,7 @@ public:
*/
const EvalDimVector& filterVelocity(int phaseIdx) const
{
OPM_THROW(Opm::NotAvailable,
OPM_THROW(Opm::NotImplemented,
"The ECL transmissibility module does not provide explicit filter velocities");
}

View File

@ -1376,7 +1376,7 @@ protected:
return bhp;
}
OPM_THROW(Opm::NumericalIssue,
OPM_THROW(Opm::NumericalProblem,
"Could not determine the bottom hole pressure of well '" << name()
<< "' within 20 iterations.");
}