Salome HOME
SALOME_TESTS/Grids/smesh/bugs_09/J9
[modules/smesh.git] / src / SMESHUtils / SMESH_File.cxx
index ade3256bbe7c5a3d2d52e485b22452586c99416a..b0720551629cf4757b476920df69f09241035e28 100644 (file)
@@ -105,6 +105,10 @@ bool SMESH_File::open()
 #endif
       }
     }
+    else if ( _error.empty() )
+    {
+      _error = "Can't open for reading an existing file " + _name;
+    }
   }
   return _pos;
 }