From 2ba942bc5aa6be931fd03828e67b07cadc92add7 Mon Sep 17 00:00:00 2001 From: Felix Mauch Date: Wed, 25 Sep 2019 07:36:42 +0200 Subject: [PATCH] Added note about thrown exception --- ur_rtde_driver/include/ur_rtde_driver/rtde/data_package.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ur_rtde_driver/include/ur_rtde_driver/rtde/data_package.h b/ur_rtde_driver/include/ur_rtde_driver/rtde/data_package.h index 84060d7..6594d83 100644 --- a/ur_rtde_driver/include/ur_rtde_driver/rtde/data_package.h +++ b/ur_rtde_driver/include/ur_rtde_driver/rtde/data_package.h @@ -141,6 +141,7 @@ public: * * \param name The string identifier for the data field as used in the documentation. * \param val Target variable. Make sure, it's the correct type. + * \exception boost::bad_get if the type under given \p name does not match the template type T. * * \returns True on success, false if the field cannot be found inside the package. */ @@ -166,6 +167,7 @@ public: * * \param name The string identifier for the data field as used in the documentation. * \param val Target variable. Make sure, it's the correct type. + * \exception boost::bad_get if the type under given \p name does not match the template type T. * * \returns True on success, false if the field cannot be found inside the package. */