Salome HOME
#18963 Minimize compiler warnings
[modules/smesh.git] / src / StdMeshers_I / StdMeshers_ViscousLayers2D_i.cxx
index e9a3be7bb2df5dfbd1dfcbff7cc7a2e5df90f50b..eaeb970ab643cb5f4524f4a0e23eb4bca02c8ef2 100644 (file)
@@ -75,7 +75,6 @@ StdMeshers_ViscousLayers2D_i::~StdMeshers_ViscousLayers2D_i()
 
 void StdMeshers_ViscousLayers2D_i::SetEdges(const ::SMESH::long_array& edgeIDs,
                                             CORBA::Boolean             toIgnore)
-  throw ( SALOME::SALOME_Exception )
 {
   vector<int> ids( edgeIDs.length() );
   for ( unsigned i = 0; i < ids.size(); ++i )
@@ -94,7 +93,6 @@ 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 +146,6 @@ 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 +172,6 @@ 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 +198,6 @@ 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 );
@@ -294,7 +289,7 @@ void StdMeshers_ViscousLayers2D_i::UpdateAsMeshesRestored()
 //================================================================================
 
 bool
-StdMeshers_ViscousLayers2D_i::getObjectsDependOn( std::vector< std::string > & entryArray,
+StdMeshers_ViscousLayers2D_i::getObjectsDependOn( std::vector< std::string > & /*entryArray*/,
                                                   std::vector< int >         & subIDArray ) const
 {
   const ::StdMeshers_ViscousLayers2D* impl =
@@ -312,7 +307,7 @@ StdMeshers_ViscousLayers2D_i::getObjectsDependOn( std::vector< std::string > & e
 //================================================================================
 
 bool
-StdMeshers_ViscousLayers2D_i::setObjectsDependOn( std::vector< std::string > & entryArray,
+StdMeshers_ViscousLayers2D_i::setObjectsDependOn( std::vector< std::string > & /*entryArray*/,
                                                   std::vector< int >         & subIDArray )
 {
   std::vector< int > newIDs;