mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Error message on file open
Added optional error string parameter to openFile(). Made sure that exceptions are handled. Returning false on file open error.
This commit is contained in:
@@ -41,7 +41,7 @@ public:
|
||||
RifGeoMechReaderInterface();
|
||||
virtual ~RifGeoMechReaderInterface();
|
||||
|
||||
virtual bool openFile(const std::string& fileName) = 0;
|
||||
virtual bool openFile(const std::string& fileName, std::string* errorMessage = 0) = 0;
|
||||
|
||||
virtual bool readFemParts(RigFemPartCollection* geoMechCase) = 0;
|
||||
virtual std::vector<std::string> stepNames() = 0;
|
||||
|
||||
Reference in New Issue
Block a user