]> SALOME platform Git repositories - plugins/blsurfplugin.git/commitdiff
Salome HOME
Fix std::exception() call
authorgdd <gdd>
Mon, 7 Mar 2011 12:50:45 +0000 (12:50 +0000)
committergdd <gdd>
Mon, 7 Mar 2011 12:50:45 +0000 (12:50 +0000)
src/BLSURFPlugin/BLSURFPlugin_Hypothesis.cxx

index 32d817a60929714133d033d0d2783611e16e05c5..734313bbf964c32bad10d36de6657b61ebd5e52d 100644 (file)
@@ -1125,7 +1125,7 @@ std::istream & BLSURFPlugin_Hypothesis::LoadFrom(std::istream & load) {
     if (enfSeparator == "__ENFORCED_VERTICES_END__")
       break; // __ENFORCED_VERTICES_END__
     if (enfSeparator != "__BEGIN_VERTEX__")
-      throw std::exception::exception();
+      throw std::exception();
     
     while (isOK) {
       isOK = (load >> enfSeparator);
@@ -1181,7 +1181,7 @@ std::istream & BLSURFPlugin_Hypothesis::LoadFrom(std::istream & load) {
         isOK = (load >> enfGeomEntry);
         isOK = (load >> enfSeparator); // __END_ENTRY__
         if (enfSeparator != "__END_ENTRY__")
-          throw std::exception::exception();
+          throw std::exception();
         MESSAGE("enfGeomEntry: " <<enfGeomEntry);
       }
         
@@ -1202,7 +1202,7 @@ std::istream & BLSURFPlugin_Hypothesis::LoadFrom(std::istream & load) {
         isOK = (load >> enfCoords[0] >> enfCoords[1] >> enfCoords[2]);
         isOK = (load >> enfSeparator); // __END_COORDS__
         if (enfSeparator != "__END_COORDS__")
-          throw std::exception::exception();
+          throw std::exception();
         MESSAGE("enfCoords: " << enfCoords[0] <<","<< enfCoords[1] <<","<< enfCoords[2]);
       }