Salome HOME
Merge branch 'master' into gni/documentation
[modules/smesh.git] / src / StdMeshers_I / StdMeshers_MaxLength_i.cxx
index 5ce5b34f9ea796be669249fbe66707f3a4834b81..e6615ab46190c18db092812664041cdd05b22fc5 100644 (file)
@@ -1,9 +1,9 @@
-// Copyright (C) 2007-2012  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2020  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 // License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
 //
 // This library is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -17,7 +17,7 @@
 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 
-//  SMESH SMESH_I : idl implementation based on 'SMESH' unit's calsses
+//  SMESH SMESH_I : idl implementation based on 'SMESH' unit's classes
 //  File   : StdMeshers_MaxLength_i.cxx
 //  Module : SMESH
 //
@@ -42,13 +42,11 @@ using namespace std;
 //=============================================================================
 
 StdMeshers_MaxLength_i::StdMeshers_MaxLength_i( PortableServer::POA_ptr thePOA,
-                                                int                     theStudyId,
                                                 ::SMESH_Gen*            theGenImpl )
   : SALOME::GenericObj_i( thePOA ),
     SMESH_Hypothesis_i( thePOA )
 {
   myBaseImpl = new ::StdMeshers_MaxLength( theGenImpl->GetANewId(),
-                                           theStudyId,
                                            theGenImpl );
 }
 
@@ -72,7 +70,6 @@ StdMeshers_MaxLength_i::~StdMeshers_MaxLength_i()
  */
 //=============================================================================
 void StdMeshers_MaxLength_i::SetLength( CORBA::Double theLength )
-     throw ( SALOME::SALOME_Exception )
 {
   ASSERT( myBaseImpl );
   try {
@@ -93,7 +90,6 @@ void StdMeshers_MaxLength_i::SetLength( CORBA::Double theLength )
  */
 //=============================================================================
 void StdMeshers_MaxLength_i::SetUsePreestimatedLength( CORBA::Boolean toUse )
-  throw ( SALOME::SALOME_Exception )
 {
   ASSERT( myBaseImpl );
   try {