]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
PAL16774,PAL16631(SALOME crash after a mesh computation that failed because of lack...
authoreap <eap@opencascade.com>
Mon, 10 Sep 2007 14:22:22 +0000 (14:22 +0000)
committereap <eap@opencascade.com>
Mon, 10 Sep 2007 14:22:22 +0000 (14:22 +0000)
    Precise error message

src/SMESH/SMESH_subMesh.cxx

index 1bac302b2fb944ae3ecd430895eaf9d34a043885..d490e6bbe7b5412cc55ede5b578131afd8214d95 100644 (file)
@@ -1335,7 +1335,7 @@ bool SMESH_subMesh::ComputeStateEngine(int event)
             _computeError = algo->GetComputeError();
         }
         catch ( std::bad_alloc& exc ) {
-          printf("std::bad_alloc\n");
+          printf("std::bad_alloc thrown inside algo->Compute()\n");
           if ( _computeError ) {
             _computeError->myName = COMPERR_MEMORY_PB;
             //_computeError->myComment = exc.what();
@@ -1344,7 +1344,7 @@ bool SMESH_subMesh::ComputeStateEngine(int event)
           throw exc;
         }
         catch ( Standard_OutOfMemory& exc ) {
-          printf("Standard_OutOfMemory\n");
+          printf("Standard_OutOfMemory thrown inside algo->Compute()\n");
           if ( _computeError ) {
             _computeError->myName = COMPERR_MEMORY_PB;
             //_computeError->myComment = exc.what();