diff options
| author | Josh Blum <josh@joshknows.com> | 2011-02-24 16:35:29 -0800 |
|---|---|---|
| committer | Josh Blum <josh@joshknows.com> | 2011-02-24 16:35:29 -0800 |
| commit | 4357f5d3c043245b5c086b20742795624af9f432 (patch) | |
| tree | 7a3cfc9f5b3ffc285ecd611655d741355dcb39b8 /host/lib/transport/usb_dummy_impl.cpp | |
| parent | 16f08844d7b6ccbdcfdf17963b88cadb7525ddc6 (diff) | |
| download | uhd-4357f5d3c043245b5c086b20742795624af9f432.tar.gz uhd-4357f5d3c043245b5c086b20742795624af9f432.tar.bz2 uhd-4357f5d3c043245b5c086b20742795624af9f432.zip | |
uhd: replaced instanced of std::exception with the uhd exceptions
Diffstat (limited to 'host/lib/transport/usb_dummy_impl.cpp')
| -rw-r--r-- | host/lib/transport/usb_dummy_impl.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/host/lib/transport/usb_dummy_impl.cpp b/host/lib/transport/usb_dummy_impl.cpp index 419a52279..930678405 100644 --- a/host/lib/transport/usb_dummy_impl.cpp +++ b/host/lib/transport/usb_dummy_impl.cpp @@ -1,5 +1,5 @@ // -// Copyright 2010 Ettus Research LLC +// Copyright 2010-2011 Ettus Research LLC // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -28,12 +28,12 @@ std::vector<usb_device_handle::sptr> usb_device_handle::get_device_list(boost::u } usb_control::sptr usb_control::make(usb_device_handle::sptr){ - throw std::runtime_error("no usb support -> usb_control::make not implemented"); + throw uhd::not_implemented_error("no usb support -> usb_control::make not implemented"); } usb_zero_copy::sptr usb_zero_copy::make( usb_device_handle::sptr, size_t, size_t, const device_addr_t & ){ - throw std::runtime_error("no usb support -> usb_zero_copy::make not implemented"); + throw uhd::not_implemented_error("no usb support -> usb_zero_copy::make not implemented"); } |
