]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
more information on exception on mesh export
authorPaul RASCLE <paul.rascle@edf.fr>
Wed, 10 Oct 2018 15:31:49 +0000 (17:31 +0200)
committerPaul RASCLE <paul.rascle@edf.fr>
Wed, 10 Oct 2018 15:31:49 +0000 (17:31 +0200)
src/MEDWrapper/MED_Wrapper.cxx
src/SMESHGUI/SMESHGUI.cxx
src/SMESHGUI/SMESH_msg_en.ts

index cc0e21b636bb5ccd75038762a2b0b110557c5e03..3539fb9293b3c7efe5a701d35bf1f6356bc9ac0a 100644 (file)
@@ -2171,7 +2171,7 @@ namespace MED
     if (theErr)
       *theErr = aRet;
     else if (aRet < 0)
-      EXCEPTION(std::runtime_error, "SetCellInfo - MEDmeshElementWr(...)");
+      EXCEPTION(std::runtime_error, "SetCellInfo - MEDmeshElementWr(...), ret="<< aRet);
   }
 
   //----------------------------------------------------------------------------
index 99ae22dd25df1bb819fb14bf39f4c995dfe2ee9d..9058ebcefcdcd511a20ef7e5db915a59e58d2234 100644 (file)
@@ -989,7 +989,7 @@ namespace
         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();
       }
     }
index bd20246ad61471068c6c9fc17b1b4d191f8a446d..d286d6c15b37ca131a114e764a1cc5ea35038fbd 100644 (file)
@@ -1780,7 +1780,8 @@ so that the application may crash. Do you wish to continue visualization?</trans
     <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>