Go to the documentation of this file. 18 #ifndef INCLUDED_UHD_UTILS_SAFE_CALL_HPP 19 #define INCLUDED_UHD_UTILS_SAFE_CALL_HPP 26 #define _UHD_SAFE_CALL_WARNING(code, what) UHD_LOGV(rarely) << \ 27 UHD_THROW_SITE_INFO("Exception caught in safe-call.") + #code + " -> " + what \ 36 #define UHD_SAFE_CALL(code) \ 38 catch(const std::exception &e){ \ 39 _UHD_SAFE_CALL_WARNING(code, e.what()); \ 42 _UHD_SAFE_CALL_WARNING(code, "unknown exception"); \