if (theErr)
*theErr = aRet;
else if (aRet < 0)
- EXCEPTION(std::runtime_error, "SetCellInfo - MEDmeshElementWr(...)");
+ EXCEPTION(std::runtime_error, "SetCellInfo - MEDmeshElementWr(...), ret="<< aRet);
}
//----------------------------------------------------------------------------
wc.suspend();
SUIT_MessageBox::warning(SMESHGUI::desktop(),
QObject::tr("SMESH_WRN_WARNING"),
- QObject::tr("SMESH_EXPORT_FAILED"));
+ QObject::tr("SMESH_EXPORT_FAILED") + SalomeApp_Tools::ExceptionToString(S_ex));
wc.resume();
}
}
<message>
<source>SMESH_EXPORT_FAILED</source>
<translation>Mesh export failed.
-Probably, there is not enough space on disk.</translation>
+Probably, there is not enough space on disk, or the version of MED file used is not compatible with the mesh.
+</translation>
</message>
<message>
<source>SMESH_EXPORT_MED_DUPLICATED_GRP</source>