From ef616f863dc4ac89c21f0fa0ecf433d41124646c Mon Sep 17 00:00:00 2001 From: guignont Date: Tue, 19 Nov 2024 16:26:31 +0100 Subject: [PATCH] - correctly catch fatal errors and rethrow --- .../ShArcTools/LinearAlgebra/LinearSystem/LinearSystem.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/common/ArcGeoSim/src/ArcGeoSim/Numerics/ShArcTools/LinearAlgebra/LinearSystem/LinearSystem.cc b/common/ArcGeoSim/src/ArcGeoSim/Numerics/ShArcTools/LinearAlgebra/LinearSystem/LinearSystem.cc index c6e94c9..b80b041 100644 --- a/common/ArcGeoSim/src/ArcGeoSim/Numerics/ShArcTools/LinearAlgebra/LinearSystem/LinearSystem.cc +++ b/common/ArcGeoSim/src/ArcGeoSim/Numerics/ShArcTools/LinearAlgebra/LinearSystem/LinearSystem.cc @@ -121,6 +121,10 @@ solve(Alien::ILinearSolver* solver) else return false; } + catch(Arccore::FatalErrorException& e) + { + throw e; + } catch(...) { return false;