adapt to the move of code from opm-common to opm-material

This commit is contained in:
Andreas Lauser
2018-02-01 14:40:01 +01:00
parent 23910186f8
commit e5344a2add
15 changed files with 19 additions and 21 deletions

View File

@@ -20,8 +20,7 @@
module for the precise wording of the license and the list of
copyright holders.
*/
#include <opm/common/ErrorMacros.hpp>
#include <opm/common/Exceptions.hpp>
#include <opm/material/common/Exceptions.hpp>
#include <dune/common/version.hh>
#include <dune/common/fvector.hh>
@@ -60,9 +59,8 @@ namespace Ewoms {
std::vector<std::vector<unsigned> > elements;
std::ifstream inStream(artFileName);
if (!inStream.is_open()) {
OPM_THROW(std::runtime_error,
"File '" << artFileName
<< "' does not exist or is not readable");
throw std::runtime_error("File '"+artFileName
+"' does not exist or is not readable");
}
std::string curLine;
ParseMode curParseMode = Vertex;