diff --git a/ApplicationComponents/SaveAndLoadLidarState/lqLoadLidarStateReaction.cxx b/ApplicationComponents/SaveAndLoadLidarState/lqLoadLidarStateReaction.cxx
index 99fce737ed03fd1753e0c115043e7ccc43f74673..50752f3b8d94b3edb4401325aceacd5fa953f8a2 100644
--- a/ApplicationComponents/SaveAndLoadLidarState/lqLoadLidarStateReaction.cxx
+++ b/ApplicationComponents/SaveAndLoadLidarState/lqLoadLidarStateReaction.cxx
@@ -67,7 +67,7 @@ void lqLoadLidarStateReaction::LoadLidarState(vtkSMProxy * lidarCurrentProxy)
   {
     file >> contents;
   }
-  catch(std::exception& e)
+  catch(...)
   {
     QMessageBox::warning(nullptr, tr(""), tr("Json file not valid") );
     return;
@@ -79,7 +79,7 @@ void lqLoadLidarStateReaction::LoadLidarState(vtkSMProxy * lidarCurrentProxy)
   {
     ParseJsonContent(contents, "",propertyInfo);
   }
-  catch(std::exception& e)
+  catch(...)
   {
     QMessageBox::warning(nullptr, tr(""), tr("Error when parsing json information") );
     return;