Salome HOME
DCQ : Merge with Ecole Ete a6.
[modules/visu.git] / src / CONVERTOR / VISU_DatConvertor.cxx
index 91151aff3e4850c1fe814679e4bebccc10bfe909..c85ac8236c9e28b7833bbdf1439acb50353df02b 100644 (file)
@@ -18,17 +18,17 @@ static int MYDEBUG = 0;
 static int PRECISION = 7;
 
 extern "C"
-VISU_Convertor* CreateDatConvertor(const string& theFileName) throw(std::runtime_error&){
+VISU_Convertor* CreateDatConvertor(const string& theFileName) {
   VISU_DatConvertor* aConvertor = new VISU_DatConvertor(theFileName);
   aConvertor->Build();
   return aConvertor;
 }
-VISU_DatConvertor::VISU_DatConvertor(const string& theFileName) throw(std::runtime_error&){
+VISU_DatConvertor::VISU_DatConvertor(const string& theFileName) {
   myFileInfo.setFile(QString(theFileName.c_str()));
   myName = (const char*)(myFileInfo.baseName());
 }
 
-VISU_Convertor* VISU_DatConvertor::Build() throw (std::runtime_error&){
+VISU_Convertor* VISU_DatConvertor::Build() {
   /*
   ifstream stmIn(myFileInfo.absFilePath());
   if(!stmIn.good())
@@ -47,7 +47,6 @@ VISU_Convertor* VISU_DatConvertor::Build() throw (std::runtime_error&){
 }
 
 int VISU_DatConvertor::ImportField(ifstream* pStmIn, int theNbPoints, vector<int>* pCellsType)
-     throw (std::runtime_error&)
 {
   /*
   ifstream &stmIn = *pStmIn;
@@ -84,7 +83,6 @@ int VISU_DatConvertor::ImportField(ifstream* pStmIn, int theNbPoints, vector<int
 
 int VISU_DatConvertor::ImportHead(ifstream* pStmIn, int* theNbPoints, 
                                  int* theNbCells, int* theNbFields) 
-     throw (std::runtime_error&)
 {
   /*
   ifstream &stmIn = *pStmIn;
@@ -104,7 +102,6 @@ int VISU_DatConvertor::ImportHead(ifstream* pStmIn, int* theNbPoints,
 }
 
 int VISU_DatConvertor::ImportPoints(ifstream* pStmIn, int theNbPoints) 
-     throw (std::runtime_error&)
 {
   /*
   ifstream &stmIn = *pStmIn;
@@ -124,7 +121,6 @@ int VISU_DatConvertor::ImportPoints(ifstream* pStmIn, int theNbPoints)
 }
 
 int VISU_DatConvertor::ImportCells(ifstream* pStmIn, vector<int>* pCellsType) 
-     throw (std::runtime_error&)
 {
   /*
   ifstream &stmIn = *pStmIn;