]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Use std exception instead SALOME exception.
authorrnv <rnv@opencascade.com>
Mon, 21 Feb 2022 19:07:41 +0000 (22:07 +0300)
committerrnv <rnv@opencascade.com>
Mon, 21 Feb 2022 19:07:41 +0000 (22:07 +0300)
src/VTKViewer/VTKViewer_GeometryFilter.cxx

index 58e7e67489ebe53fd24a4c89d464e9f6b46d23f5..071001c129d8b2c775002e85a1dd2de8b0a50e5a 100644 (file)
@@ -57,7 +57,6 @@
 #include <map>
 #include <set>
 
-#include "Utils_SALOME_Exception.hxx"
 #include "utilities.h"
 
 #if defined __GNUC__
@@ -175,7 +174,7 @@ void VTKViewer_GeometryFilter
   vtkDataArray* vtkOriginalCellIds = output->GetCellData()->GetArray("vtkOriginalCellIds");
 
   if (vtkOriginalCellIds == nullptr)
-    throw SALOME_Exception("vtkOriginalCellIds is null. Something is wrong.");
+    throw std::runtime_error("vtkOriginalCellIds is null. Something is wrong.");
 
   const vtkIdType numTuples = vtkOriginalCellIds->GetNumberOfTuples();
   myVTK2ObjIds.resize(numTuples);