]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Issue 20064: print specific error message "NAN values in the presentation" to the... V5_1_2rc2
authorvsr <vsr@opencascade.com>
Mon, 15 Jun 2009 08:30:59 +0000 (08:30 +0000)
committervsr <vsr@opencascade.com>
Mon, 15 Jun 2009 08:30:59 +0000 (08:30 +0000)
src/PIPELINE/VISU_ColoredPL.cxx
src/PIPELINE/VISU_DeformedShapeAndScalarMapPL.cxx

index e797a1a2337ff03e845bf830258f70d6e5eb08d3..bc9bcd34c41fc15d5fa752697488d86186ed5b7f 100644 (file)
@@ -502,7 +502,7 @@ VISU_ColoredPL
   myExtractor->GetOutput()->GetScalarRange( theRange );
   
   if (isnan(theRange[0]) || isnan(theRange[1]))
-    throw std::runtime_error("Arithmetic exception detected");
+    throw std::runtime_error("NAN values in the presentation");
 }
 
 void
index 50a545bf0c4180e5d30c48a950673a7ed4274939..194ff20ba4565d9f22382ea97ee05aff1aa827d2 100644 (file)
@@ -469,5 +469,5 @@ VISU_DeformedShapeAndScalarMapPL
   myScalarsExtractor->GetUnstructuredGridOutput()->GetScalarRange(theRange);
 
   if (isnan(theRange[0]) || isnan(theRange[1]))
-    throw std::runtime_error("Arithmetic exception detected");
+    throw std::runtime_error("NAN values in the presentation");
 }