Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
SALOME_TESTS/Grids/smesh/bugs_09/J9
[modules/smesh.git]
/
src
/
SMESHUtils
/
SMESH_File.cxx
diff --git
a/src/SMESHUtils/SMESH_File.cxx
b/src/SMESHUtils/SMESH_File.cxx
index ade3256bbe7c5a3d2d52e485b22452586c99416a..b0720551629cf4757b476920df69f09241035e28 100644
(file)
--- a/
src/SMESHUtils/SMESH_File.cxx
+++ b/
src/SMESHUtils/SMESH_File.cxx
@@
-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;
}