From: rnv Date: Mon, 21 Feb 2022 19:07:41 +0000 (+0300) Subject: Use std exception instead SALOME exception. X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=11227ff8e771a21dd25894e429467e3757d8d2e7;p=modules%2Fgui.git Use std exception instead SALOME exception. --- 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);