mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-13 18:20:34 +05:00
In ExportToMEDX() use SMESH_TRY to normally transfer exceptions from the driver
This commit is contained in:
parent
3939500c74
commit
8e84b443fc
@ -2710,7 +2710,7 @@ void SMESH_Mesh_i::ExportToMEDX (const char* file,
|
||||
CORBA::Boolean autoDimension)
|
||||
throw(SALOME::SALOME_Exception)
|
||||
{
|
||||
Unexpect aCatch(SALOME_SalomeException);
|
||||
SMESH_TRY;
|
||||
if ( _preMeshInfo )
|
||||
_preMeshInfo->FullLoadFromFile();
|
||||
|
||||
@ -2721,6 +2721,8 @@ void SMESH_Mesh_i::ExportToMEDX (const char* file,
|
||||
<< autoDimension << " )";
|
||||
|
||||
_impl->ExportMED( file, aMeshName.c_str(), auto_groups, theVersion, 0, autoDimension );
|
||||
|
||||
SMESH_CATCH( SMESH::throwCorbaException );
|
||||
}
|
||||
|
||||
//================================================================================
|
||||
|
Loading…
Reference in New Issue
Block a user