mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-27 09:50:34 +05:00
Fix error description passed via exception
This commit is contained in:
parent
7a732fc9d1
commit
fad37730ee
@ -1507,7 +1507,7 @@ SMESH_Mesh_i::CutListOfGroups(const SMESH::ListOfGroups& theMainGroups,
|
||||
if ( aType == SMESH::ALL )
|
||||
aType = aGrp->GetType();
|
||||
else if ( aType != aGrp->GetType() )
|
||||
THROW_SALOME_CORBA_EXCEPTION("CreateDimGroup(): different group types",
|
||||
THROW_SALOME_CORBA_EXCEPTION("CutListOfGroups(): different group types",
|
||||
SALOME::BAD_PARAM);
|
||||
if ( SMESH_GroupBase_i* grp_i = SMESH::DownCast< SMESH_GroupBase_i* >( aGrp ))
|
||||
if ( SMESHDS_GroupBase* grpDS = grp_i->GetGroupDS() )
|
||||
@ -1525,7 +1525,7 @@ SMESH_Mesh_i::CutListOfGroups(const SMESH::ListOfGroups& theMainGroups,
|
||||
if ( CORBA::is_nil( aGrp ) )
|
||||
continue;
|
||||
if ( aType != aGrp->GetType() )
|
||||
THROW_SALOME_CORBA_EXCEPTION("CreateDimGroup(): different group types",
|
||||
THROW_SALOME_CORBA_EXCEPTION("CutListOfGroups(): different group types",
|
||||
SALOME::BAD_PARAM);
|
||||
if ( SMESH_GroupBase_i* grp_i = SMESH::DownCast< SMESH_GroupBase_i* >( aGrp ))
|
||||
if ( SMESHDS_GroupBase* grpDS = grp_i->GetGroupDS() )
|
||||
|
Loading…
Reference in New Issue
Block a user