From 11227ff8e771a21dd25894e429467e3757d8d2e7 Mon Sep 17 00:00:00 2001 From: rnv Date: Mon, 21 Feb 2022 22:07:41 +0300 Subject: [PATCH] Use std exception instead SALOME exception. --- src/VTKViewer/VTKViewer_GeometryFilter.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/VTKViewer/VTKViewer_GeometryFilter.cxx b/src/VTKViewer/VTKViewer_GeometryFilter.cxx index 58e7e6748..071001c12 100644 --- a/src/VTKViewer/VTKViewer_GeometryFilter.cxx +++ b/src/VTKViewer/VTKViewer_GeometryFilter.cxx @@ -57,7 +57,6 @@ #include #include -#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); -- 2.39.2