X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMESH_I%2FSMESH_subMesh_i.cxx;fp=src%2FSMESH_I%2FSMESH_subMesh_i.cxx;h=385029fdfa450fe5319069c779f90242dc48bc55;hb=44c1e310f0e1845b792d52bc089d7810a723247c;hp=fe16360bf4e1b28b7326b9a6301a8e211300af49;hpb=951dd4234ec84d147b1756bc04b6464c5332091c;p=modules%2Fsmesh.git diff --git a/src/SMESH_I/SMESH_subMesh_i.cxx b/src/SMESH_I/SMESH_subMesh_i.cxx index fe16360bf..385029fdf 100644 --- a/src/SMESH_I/SMESH_subMesh_i.cxx +++ b/src/SMESH_I/SMESH_subMesh_i.cxx @@ -141,7 +141,7 @@ bool getSubMeshes(::SMESH_subMesh* theSubMesh, //============================================================================= CORBA::Long SMESH_subMesh_i::GetNumberOfElements() - throw (SALOME::SALOME_Exception) + { Unexpect aCatch(SALOME_SalomeException); @@ -172,7 +172,7 @@ CORBA::Long SMESH_subMesh_i::GetNumberOfElements() //============================================================================= CORBA::Long SMESH_subMesh_i::GetNumberOfNodes(CORBA::Boolean all) - throw (SALOME::SALOME_Exception) + { Unexpect aCatch(SALOME_SalomeException); @@ -220,7 +220,7 @@ CORBA::Long SMESH_subMesh_i::GetNumberOfNodes(CORBA::Boolean all) //============================================================================= SMESH::long_array* SMESH_subMesh_i::GetElementsId() - throw (SALOME::SALOME_Exception) + { Unexpect aCatch(SALOME_SalomeException); @@ -265,7 +265,7 @@ SMESH::long_array* SMESH_subMesh_i::GetElementsId() //============================================================================= SMESH::long_array* SMESH_subMesh_i::GetElementsByType( SMESH::ElementType theElemType ) - throw (SALOME::SALOME_Exception) + { Unexpect aCatch(SALOME_SalomeException); @@ -351,7 +351,7 @@ SMESH::long_array* SMESH_subMesh_i::GetElementsByType( SMESH::ElementType theEle //============================================================================= SMESH::long_array* SMESH_subMesh_i::GetNodesId() - throw (SALOME::SALOME_Exception) + { Unexpect aCatch(SALOME_SalomeException); @@ -366,7 +366,7 @@ SMESH::long_array* SMESH_subMesh_i::GetNodesId() //============================================================================= SMESH::SMESH_Mesh_ptr SMESH_subMesh_i::GetFather() - throw (SALOME::SALOME_Exception) + { Unexpect aCatch(SALOME_SalomeException); return _mesh_i->_this(); @@ -389,7 +389,7 @@ CORBA::Long SMESH_subMesh_i::GetId() //======================================================================= GEOM::GEOM_Object_ptr SMESH_subMesh_i::GetSubShape() - throw (SALOME::SALOME_Exception) + { Unexpect aCatch(SALOME_SalomeException); GEOM::GEOM_Object_var aShapeObj; @@ -428,7 +428,7 @@ SMESH::long_array* SMESH_subMesh_i::GetIDs() */ //============================================================================= SMESH::ElementType SMESH_subMesh_i::GetElementType( const CORBA::Long id, const bool iselem ) - throw (SALOME::SALOME_Exception) + { if ( _preMeshInfo ) _preMeshInfo->FullLoadFromFile(); @@ -607,7 +607,7 @@ SMESH_Invalid_subMesh_i::SMESH_Invalid_subMesh_i( PortableServer::POA_ptr thePOA //======================================================================= GEOM::GEOM_Object_ptr SMESH_Invalid_subMesh_i::GetSubShape() - throw (SALOME::SALOME_Exception) + { return GEOM::GEOM_Object::_duplicate( _geom ); }