diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2018-02-22 17:15:28 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2018-02-22 17:15:28 +0100 |
commit | c27252b79363b46658fccbe743dc911049dd3450 (patch) | |
tree | 5bcf2abf23a2e4db21fa6c51623755b273a42689 /src/ConfigParser.cpp | |
parent | ef16c548dce02ef5335766d1729faf2d3c9b6ed5 (diff) | |
download | dabmux-c27252b79363b46658fccbe743dc911049dd3450.tar.gz dabmux-c27252b79363b46658fccbe743dc911049dd3450.tar.bz2 dabmux-c27252b79363b46658fccbe743dc911049dd3450.zip |
Add another error in case of empty range_modulation
Diffstat (limited to 'src/ConfigParser.cpp')
-rw-r--r-- | src/ConfigParser.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ConfigParser.cpp b/src/ConfigParser.cpp index a0bf97e..b48df8c 100644 --- a/src/ConfigParser.cpp +++ b/src/ConfigParser.cpp @@ -203,6 +203,9 @@ static void parse_freq_info(ptree& pt, else if (rm_str == "amss") { fle.rm = RangeModulation::amss; } + else if (rm_str == "") { + throw runtime_error("Missing range_modulation in FI " + fi_uid); + } else { throw runtime_error("Invalid range_modulation '" + rm_str + "' in FI " + fi_uid); |