Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3939500
)
In ExportToMEDX() use SMESH_TRY to normally transfer exceptions from the driver
author
eap
<eap@opencascade.com>
Wed, 14 Aug 2013 12:35:03 +0000
(12:35 +0000)
committer
eap
<eap@opencascade.com>
Wed, 14 Aug 2013 12:35:03 +0000
(12:35 +0000)
src/SMESH_I/SMESH_Mesh_i.cxx
patch
|
blob
|
history
diff --git
a/src/SMESH_I/SMESH_Mesh_i.cxx
b/src/SMESH_I/SMESH_Mesh_i.cxx
index 735ab2ef7ee48d3bd7eae602576491fb43ffae40..812d3c0cdb83a5a751ef9fa17182ed741e66d24d 100644
(file)
--- a/
src/SMESH_I/SMESH_Mesh_i.cxx
+++ b/
src/SMESH_I/SMESH_Mesh_i.cxx
@@
-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 );
}
//================================================================================