aboutsummaryrefslogtreecommitdiffstats
path: root/src/vpp-api/vapi
diff options
context:
space:
mode:
authorKlement Sekera <ksekera@cisco.com>2017-09-22 07:52:28 +0200
committerNeale Ranns <nranns@cisco.com>2017-09-28 15:53:30 +0000
commit905e250baf982aa5b81265d8f88ec022ef8666ce (patch)
tree619a79d593d7ec747e490b6e74ac63b35d57a0d9 /src/vpp-api/vapi
parent958b750ceaf6c20466bc4e5605da39b4490847d9 (diff)
C++ API: remove deprecated throw lists
Change-Id: Ia58664438c9dc949884a794bd123555a13a02e6c Signed-off-by: Klement Sekera <ksekera@cisco.com>
Diffstat (limited to 'src/vpp-api/vapi')
-rw-r--r--src/vpp-api/vapi/vapi.hpp12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/vpp-api/vapi/vapi.hpp b/src/vpp-api/vapi/vapi.hpp
index 3be78b41b0a..a3ac2ce7103 100644
--- a/src/vpp-api/vapi/vapi.hpp
+++ b/src/vpp-api/vapi/vapi.hpp
@@ -587,8 +587,7 @@ private:
return &my_id;
}
- Msg (Connection &con, void *shm_data) throw (Msg_not_available_exception)
- : con{con}
+ Msg (Connection &con, void *shm_data) : con{con}
{
if (!con.is_msg_available (get_msg_id ()))
{
@@ -599,8 +598,7 @@ private:
this, shm_data);
}
- void assign_response (vapi_msg_id_t resp_id,
- void *shm_data) throw (Unexpected_msg_id_exception)
+ void assign_response (vapi_msg_id_t resp_id, void *shm_data)
{
assert (nullptr == this->shm_data);
if (resp_id != get_msg_id ())
@@ -745,8 +743,7 @@ private:
complete = true;
}
- void assign_response (vapi_msg_id_t resp_id,
- void *shm_data) throw (Unexpected_msg_id_exception)
+ void assign_response (vapi_msg_id_t resp_id, void *shm_data)
{
if (resp_id != Msg<M>::get_msg_id ())
{
@@ -852,8 +849,7 @@ template <typename M> class Event_registration : public Common_req
public:
Event_registration (
Connection &con,
- std::function<vapi_error_e (Event_registration<M> &)> callback =
- nullptr) throw (Msg_not_available_exception)
+ std::function<vapi_error_e (Event_registration<M> &)> callback = nullptr)
: Common_req{con}, result_set{con}, callback{callback}
{
if (!con.is_msg_available (M::get_msg_id ()))