summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksandar Donchev <Aleksander.Donchev@partner.bmw.de>2015-06-10 12:06:13 +0200
committerAleksandar Donchev <Aleksander.Donchev@partner.bmw.de>2015-06-10 12:06:13 +0200
commita3c39077c32ab467b8415d6923f8a82e49482ea8 (patch)
treef6830604652c7899af045db97c3f6e2f8d02e8ed
parent7248efe3968614ba420a9b5230b7e50e08de826f (diff)
downloadaudiomanager-a3c39077c32ab467b8415d6923f8a82e49482ea8.tar.gz
* Unnecessary exception throwing for empty plugins list deleted.
Signed-off-by: Christian Linke <christian.linke@bmw.de>
-rw-r--r--AudioManagerDaemon/src/CAmCommandSender.cpp1
-rw-r--r--AudioManagerDaemon/src/CAmRoutingSender.cpp1
2 files changed, 0 insertions, 2 deletions
diff --git a/AudioManagerDaemon/src/CAmCommandSender.cpp b/AudioManagerDaemon/src/CAmCommandSender.cpp
index 958c8b6..c41c01d 100644
--- a/AudioManagerDaemon/src/CAmCommandSender.cpp
+++ b/AudioManagerDaemon/src/CAmCommandSender.cpp
@@ -59,7 +59,6 @@ CAmCommandSender::CAmCommandSender(const std::vector<std::string>& listOfPluginD
if (listOfPluginDirectories.empty())
{
logError("CAmCommandSender::CAmCommandSender: List of commandplugins is empty");
- throw std::runtime_error("List of commandplugins is empty!");
}
std::vector<std::string> sharedLibraryNameList;
diff --git a/AudioManagerDaemon/src/CAmRoutingSender.cpp b/AudioManagerDaemon/src/CAmRoutingSender.cpp
index 661f140..e419356 100644
--- a/AudioManagerDaemon/src/CAmRoutingSender.cpp
+++ b/AudioManagerDaemon/src/CAmRoutingSender.cpp
@@ -58,7 +58,6 @@ CAmRoutingSender::CAmRoutingSender(const std::vector<std::string>& listOfPluginD
if (listOfPluginDirectories.empty())
{
logError("CAmRoutingSender::CAmRoutingSender: List of routingplugins is empty");
- throw std::runtime_error("List of routingplugins is empty!");
}
std::vector<std::string> sharedLibraryNameList;