diff options
author | Thomas Habets <thomas@habets.se> | 2019-12-21 19:38:44 +0000 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2020-01-01 19:40:43 -0800 |
commit | 183a35ee554fd2034acbc5ac91e32abd046d5de1 (patch) | |
tree | eb77ac056d06a81c2a9e2c9f7b4901cac63077d3 /gnuradio-runtime/lib | |
parent | 24725470892c770b8f0cd5f839588a8a5125caa6 (diff) |
Remove newlines from exception messages
Diffstat (limited to 'gnuradio-runtime/lib')
-rw-r--r-- | gnuradio-runtime/lib/block.cc | 2 | ||||
-rw-r--r-- | gnuradio-runtime/lib/controlport/rpcmanager.cc | 2 | ||||
-rw-r--r-- | gnuradio-runtime/lib/logger.cc | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/gnuradio-runtime/lib/block.cc b/gnuradio-runtime/lib/block.cc index 5914283908..b3a9bcc4dc 100644 --- a/gnuradio-runtime/lib/block.cc +++ b/gnuradio-runtime/lib/block.cc @@ -287,7 +287,7 @@ void block::set_max_noutput_items(int m) { if (m <= 0) throw std::runtime_error("block::set_max_noutput_items: value for " - "max_noutput_items must be greater than 0.\n"); + "max_noutput_items must be greater than 0."); d_max_noutput_items = m; d_max_noutput_items_set = true; diff --git a/gnuradio-runtime/lib/controlport/rpcmanager.cc b/gnuradio-runtime/lib/controlport/rpcmanager.cc index aa9fc08cde..423bf44d3d 100644 --- a/gnuradio-runtime/lib/controlport/rpcmanager.cc +++ b/gnuradio-runtime/lib/controlport/rpcmanager.cc @@ -54,6 +54,6 @@ void rpcmanager::register_booter(rpcserver_booter_base* booter) booter_registered = true; } else { throw std::runtime_error("rpcmanager: Aggregator not in use, and a rpc booter is " - "already registered\n"); + "already registered"); } } diff --git a/gnuradio-runtime/lib/logger.cc b/gnuradio-runtime/lib/logger.cc index ce2772cadf..6bcac914ed 100644 --- a/gnuradio-runtime/lib/logger.cc +++ b/gnuradio-runtime/lib/logger.cc @@ -194,7 +194,7 @@ void logger_set_level(logger_ptr logger, const std::string& level) else if (nocase == "emerg") logger_set_level(logger, log4cpp::Priority::EMERG); else - throw std::runtime_error("logger_set_level: Bad level type.\n"); + throw std::runtime_error("logger_set_level: Bad level type."); } void logger_set_level(logger_ptr logger, log4cpp::Priority::Value level) |