38 virtual unsigned code(
void)
const = 0;
39 virtual exception* dynamic_clone(
void)
const = 0;
40 virtual void dynamic_throw(
void)
const = 0;
50 unsigned code(
void)
const override;
51 assertion_error* dynamic_clone(
void)
const override;
52 void dynamic_throw(
void)
const override;
61 unsigned code(
void)
const override;
62 lookup_error* dynamic_clone(
void)
const override;
63 void dynamic_throw(
void)
const override;
71 unsigned code(
void)
const override;
72 index_error* dynamic_clone(
void)
const override;
73 void dynamic_throw(
void)
const override;
84 unsigned code(
void)
const override;
85 key_error* dynamic_clone(
void)
const override;
86 void dynamic_throw(
void)
const override;
98 unsigned code(
void)
const override;
99 type_error* dynamic_clone(
void)
const override;
100 void dynamic_throw(
void)
const override;
110 unsigned code(
void)
const override;
111 value_error* dynamic_clone(
void)
const override;
112 void dynamic_throw(
void)
const override;
123 unsigned code(
void)
const override;
124 narrowing_error* dynamic_clone(
void)
const override;
125 void dynamic_throw(
void)
const override;
134 unsigned code(
void)
const override;
135 runtime_error* dynamic_clone(
void)
const override;
136 void dynamic_throw(
void)
const override;
144 usb_error(
int code,
const std::string& what);
145 unsigned code(
void)
const override 149 usb_error* dynamic_clone(
void)
const override;
150 void dynamic_throw(
void)
const override;
159 unsigned code(
void)
const override;
160 not_implemented_error* dynamic_clone(
void)
const override;
161 void dynamic_throw(
void)
const override;
170 unsigned code(
void)
const override;
171 access_error* dynamic_clone(
void)
const override;
172 void dynamic_throw(
void)
const override;
180 unsigned code(
void)
const override;
181 environment_error* dynamic_clone(
void)
const override;
182 void dynamic_throw(
void)
const override;
190 unsigned code(
void)
const override;
191 io_error* dynamic_clone(
void)
const override;
192 void dynamic_throw(
void)
const override;
200 unsigned code(
void)
const override;
201 os_error* dynamic_clone(
void)
const override;
202 void dynamic_throw(
void)
const override;
210 unsigned code(
void)
const override;
211 system_error* dynamic_clone(
void)
const override;
212 void dynamic_throw(
void)
const override;
222 unsigned code(
void)
const override;
223 syntax_error* dynamic_clone(
void)
const override;
224 void dynamic_throw(
void)
const override;
232 unsigned code(
void)
const override;
233 rfnoc_error* dynamic_clone(
void)
const override;
234 void dynamic_throw(
void)
const override;
242 unsigned code(
void)
const override;
243 op_failed* dynamic_clone(
void)
const override;
244 void dynamic_throw(
void)
const override;
253 unsigned code(
void)
const override;
254 op_timeout* dynamic_clone(
void)
const override;
255 void dynamic_throw(
void)
const override;
263 unsigned code(
void)
const override;
264 op_seqerr* dynamic_clone(
void)
const override;
265 void dynamic_throw(
void)
const override;
273 unsigned code(
void)
const override;
274 op_timerr* dynamic_clone(
void)
const override;
275 void dynamic_throw(
void)
const override;
283 unsigned code(
void)
const override;
284 resolve_error* dynamic_clone(
void)
const override;
285 void dynamic_throw(
void)
const override;
293 unsigned code(
void)
const override;
294 routing_error* dynamic_clone(
void)
const override;
295 void dynamic_throw(
void)
const override;
304 #define UHD_THROW_SITE_INFO(what) \ 305 std::string(std::string(what) + "\n" + " in " + std::string(UHD_FUNCTION) + "\n" \ 306 + " at " + std::string(__FILE__) + ":" + BOOST_STRINGIZE(__LINE__) \ 313 #define UHD_THROW_INVALID_CODE_PATH() \ 314 throw uhd::system_error(UHD_THROW_SITE_INFO("invalid code path")) 321 #define UHD_ASSERT_THROW(code) \ 324 throw uhd::assertion_error(UHD_THROW_SITE_INFO(#code)); \ Definition: exception.hpp:35
Definition: exception.hpp:177
Definition: exception.hpp:197
Definition: exception.hpp:156
Definition: exception.hpp:260
Definition: exception.hpp:58
Definition: exception.hpp:81
Definition: exception.hpp:229
Definition: exception.hpp:131
Definition: exception.hpp:207
Definition: exception.hpp:290
int _code
Definition: exception.hpp:143
Definition: exception.hpp:270
Definition: exception.hpp:107
Definition: exception.hpp:120
Definition: build_info.hpp:12
Definition: exception.hpp:167
unsigned code(void) const override
Definition: exception.hpp:145
Definition: exception.hpp:187
Definition: exception.hpp:239
Definition: exception.hpp:68
Definition: exception.hpp:219
Definition: exception.hpp:47
#define UHD_API
Definition: config.h:87
Definition: exception.hpp:280
Definition: exception.hpp:250
Definition: exception.hpp:95
Definition: exception.hpp:141