commit | 149e02cf7da50ac526f7d850c2ecd9570e943f9b | [log] [tgz] |
---|---|---|
author | Spyridon Mastorakis <spiros.mastorakis@gmail.com> | Mon Jul 27 13:22:22 2015 -0700 |
committer | Spyridon Mastorakis <spiros.mastorakis@gmail.com> | Mon Aug 17 16:17:33 2015 -0700 |
tree | 5d0b1a1dfc5a19f5bba7501958382815a810b0f0 | |
parent | a714792b032295988f35ea30fd738683fbdb4580 [diff] [blame] |
Enhance exception throwing with Boost Exception library Change-Id: I471023fc23ffaebe04d9668426b4c1b03e4919aa Refs: #2541
diff --git a/rib/fib-updater.cpp b/rib/fib-updater.cpp index 8d581be..91d1bdd 100644 --- a/rib/fib-updater.cpp +++ b/rib/fib-updater.cpp
@@ -305,7 +305,8 @@ } } else { - throw Error("Non-recoverable error: " + error + " code: " + std::to_string(code)); + BOOST_THROW_EXCEPTION(Error("Non-recoverable error: " + error + " code: " + + std::to_string(code))); } }