mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-26 17:30:35 +05:00
more information on exception on mesh export
This commit is contained in:
parent
a63fc78c25
commit
81b56ed43d
@ -2171,7 +2171,7 @@ namespace MED
|
|||||||
if (theErr)
|
if (theErr)
|
||||||
*theErr = aRet;
|
*theErr = aRet;
|
||||||
else if (aRet < 0)
|
else if (aRet < 0)
|
||||||
EXCEPTION(std::runtime_error, "SetCellInfo - MEDmeshElementWr(...)");
|
EXCEPTION(std::runtime_error, "SetCellInfo - MEDmeshElementWr(...), ret="<< aRet);
|
||||||
}
|
}
|
||||||
|
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
|
@ -989,7 +989,7 @@ namespace
|
|||||||
wc.suspend();
|
wc.suspend();
|
||||||
SUIT_MessageBox::warning(SMESHGUI::desktop(),
|
SUIT_MessageBox::warning(SMESHGUI::desktop(),
|
||||||
QObject::tr("SMESH_WRN_WARNING"),
|
QObject::tr("SMESH_WRN_WARNING"),
|
||||||
QObject::tr("SMESH_EXPORT_FAILED"));
|
QObject::tr("SMESH_EXPORT_FAILED") + SalomeApp_Tools::ExceptionToString(S_ex));
|
||||||
wc.resume();
|
wc.resume();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1780,7 +1780,8 @@ so that the application may crash. Do you wish to continue visualization?</trans
|
|||||||
<message>
|
<message>
|
||||||
<source>SMESH_EXPORT_FAILED</source>
|
<source>SMESH_EXPORT_FAILED</source>
|
||||||
<translation>Mesh export failed.
|
<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>
|
||||||
<message>
|
<message>
|
||||||
<source>SMESH_EXPORT_MED_DUPLICATED_GRP</source>
|
<source>SMESH_EXPORT_MED_DUPLICATED_GRP</source>
|
||||||
|
Loading…
Reference in New Issue
Block a user