Skip to content
Snippets Groups Projects

Remove repetitive catch block in AlgorithmAFDM

Merged Raghunandan Netrapalli Madhusudhan requested to merge fix-exception-handling into develop
1 file
+ 1
10
Compare changes
  • Side-by-side
  • Inline
@@ -3,7 +3,7 @@
@@ -3,7 +3,7 @@
* 2020 HLRS, University of Stuttgart
* 2020 HLRS, University of Stuttgart
* 2016-2018 ITK Engineering GmbH
* 2016-2018 ITK Engineering GmbH
* 2017-2019 in-tech GmbH
* 2017-2019 in-tech GmbH
* 2023 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
* 2023-2024 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
*
*
* This program and the accompanying materials are made available under the
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* terms of the Eclipse Public License 2.0 which is available at
@@ -199,15 +199,6 @@ extern "C" ALGORITHM_AGENTFOLLOWINGDRIVERMODEL_SHARED_EXPORT bool OpenPASS_Trigg
@@ -199,15 +199,6 @@ extern "C" ALGORITHM_AGENTFOLLOWINGDRIVERMODEL_SHARED_EXPORT bool OpenPASS_Trigg
return false;
return false;
}
}
catch (const std::exception &exstd)
{
if (Callbacks != nullptr)
{
Callbacks->Log(CbkLogLevel::Error, __FILE__, __LINE__, exstd.what());
}
return false;
}
catch (...)
catch (...)
{
{
if (Callbacks != nullptr)
if (Callbacks != nullptr)
Loading