aboutsummaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
authorAndrej Rode <andrej.rode@ettus.com>2017-03-16 12:42:46 -0700
committerMartin Braun <martin.braun@ettus.com>2017-03-21 11:07:34 -0700
commit1b5f4ab3bfc53090d274d69053bf75537f1c08ed (patch)
tree50609e4e3127e24d49fa61ef16f4128d6cedf249 /host
parent5b1d415f6e42149ef6b1420630f550ea8d4d5f2b (diff)
downloaduhd-1b5f4ab3bfc53090d274d69053bf75537f1c08ed.tar.gz
uhd-1b5f4ab3bfc53090d274d69053bf75537f1c08ed.tar.bz2
uhd-1b5f4ab3bfc53090d274d69053bf75537f1c08ed.zip
docs: document common exceptions occuring in multi_usrp::make
Diffstat (limited to 'host')
-rw-r--r--host/include/uhd/usrp/multi_usrp.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/host/include/uhd/usrp/multi_usrp.hpp b/host/include/uhd/usrp/multi_usrp.hpp
index 1a64a8f3a..fee430fe0 100644
--- a/host/include/uhd/usrp/multi_usrp.hpp
+++ b/host/include/uhd/usrp/multi_usrp.hpp
@@ -120,6 +120,8 @@ public:
* Make a new multi usrp from the device address.
* \param dev_addr the device address
* \return a new single usrp object
+ * \throws uhd::key_error no device found
+ * \throws uhd::index_error fewer devices found than expected
*/
static sptr make(const device_addr_t &dev_addr);