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
Merging with WPdev
[modules/smesh.git]
/
src
/
DriverUNV
/
DriverUNV_W_SMDS_Mesh.cxx
diff --git
a/src/DriverUNV/DriverUNV_W_SMDS_Mesh.cxx
b/src/DriverUNV/DriverUNV_W_SMDS_Mesh.cxx
index eeb2ff4b8285f45e61723de3f63d2787d612ce2f..b9554e306cd250331eda6df1dded300155f2d784 100644
(file)
--- a/
src/DriverUNV/DriverUNV_W_SMDS_Mesh.cxx
+++ b/
src/DriverUNV/DriverUNV_W_SMDS_Mesh.cxx
@@
-35,6
+35,7
@@
#include "UNV_Utilities.hxx"
using namespace std;
#include "UNV_Utilities.hxx"
using namespace std;
+using namespace UNV;
namespace{
typedef std::vector<size_t> TConnect;
namespace{
typedef std::vector<size_t> TConnect;
@@
-292,12
+293,19
@@
Driver_Mesh::Status DriverUNV_W_SMDS_Mesh::Perform()
}
UNV2417::Write(out_stream,aDataSet2417);
}*/
}
UNV2417::Write(out_stream,aDataSet2417);
}*/
+
+ out_stream.flush();
+ out_stream.close();
+ if (!check_file(myFile))
+ EXCEPTION(runtime_error,"ERROR: Output file not good.");
}
catch(const std::exception& exc){
INFOS("Follow exception was cought:\n\t"<<exc.what());
}
catch(const std::exception& exc){
INFOS("Follow exception was cought:\n\t"<<exc.what());
+ throw;
}
catch(...){
INFOS("Unknown exception was cought !!!");
}
catch(...){
INFOS("Unknown exception was cought !!!");
+ throw;
}
return aResult;
}
}
return aResult;
}