Salome HOME
fight warnings c++17 error throw(). Build SMESH finished.
[modules/smesh.git] / src / StdMeshers_I / StdMeshers_ViscousLayers2D_i.cxx
index e9a3be7bb2df5dfbd1dfcbff7cc7a2e5df90f50b..251a9eb56308af4a6d23cf10bc1afb9242273880 100644 (file)
@@ -74,8 +74,7 @@ StdMeshers_ViscousLayers2D_i::~StdMeshers_ViscousLayers2D_i()
 //================================================================================
 
 void StdMeshers_ViscousLayers2D_i::SetEdges(const ::SMESH::long_array& edgeIDs,
-                                            CORBA::Boolean             toIgnore)
-  throw ( SALOME::SALOME_Exception )
+                                            CORBA::Boolean             toIgnore)  
 {
   vector<int> ids( edgeIDs.length() );
   for ( unsigned i = 0; i < ids.size(); ++i )
@@ -94,7 +93,7 @@ void StdMeshers_ViscousLayers2D_i::SetEdges(const ::SMESH::long_array& edgeIDs,
 //================================================================================
 
 void StdMeshers_ViscousLayers2D_i::SetIgnoreEdges(const ::SMESH::long_array& edgeIDs)
-  throw ( SALOME::SALOME_Exception )
+  
 {
   SMESH::TPythonDump pyDump;
   this->SetEdges( edgeIDs, true );
@@ -148,7 +147,7 @@ CORBA::Boolean StdMeshers_ViscousLayers2D_i::GetIsToIgnoreEdges()
 //================================================================================
 
 void StdMeshers_ViscousLayers2D_i::SetTotalThickness(::CORBA::Double thickness)
-throw ( SALOME::SALOME_Exception )
+
 {
   if ( thickness < 1e-100 )
     THROW_SALOME_CORBA_EXCEPTION( "Invalid thickness", SALOME::BAD_PARAM );
@@ -175,7 +174,7 @@ throw ( SALOME::SALOME_Exception )
 //================================================================================
 
 void StdMeshers_ViscousLayers2D_i::SetNumberLayers(::CORBA::Short nb)
-throw ( SALOME::SALOME_Exception )
+
 {
   if ( nb < 1 )
     THROW_SALOME_CORBA_EXCEPTION( "Invalid number of layers", SALOME::BAD_PARAM );
@@ -202,7 +201,7 @@ throw ( SALOME::SALOME_Exception )
 //================================================================================
 
 void StdMeshers_ViscousLayers2D_i::SetStretchFactor(::CORBA::Double factor)
-throw ( SALOME::SALOME_Exception )
+
 {
   if ( factor < 1 )
     THROW_SALOME_CORBA_EXCEPTION( "Invalid stretch factor, it must be >= 1.0", SALOME::BAD_PARAM );