USRP Hardware Driver and USRP Manual  Version: 4.2.0.0-116-g854665ef7
UHD and USRP Manual
uhd::value_error Struct Reference

#include <uhd/exception.hpp>

Inheritance diagram for uhd::value_error:
uhd::exception uhd::narrowing_error

Public Member Functions

 value_error (const std::string &what)
 
unsigned code (void) const override
 
value_errordynamic_clone (void) const override
 
void dynamic_throw (void) const override
 
- Public Member Functions inherited from uhd::exception
 exception (const std::string &what)
 

Detailed Description

Raised when an operation or function receives an argument that has the right type but an inappropriate or invalid value, and no other exception is more specific.

Constructor & Destructor Documentation

◆ value_error()

uhd::value_error::value_error ( const std::string &  what)

Member Function Documentation

◆ code()

unsigned uhd::value_error::code ( void  ) const
overridevirtual

Implements uhd::exception.

Reimplemented in uhd::narrowing_error.

◆ dynamic_clone()

value_error* uhd::value_error::dynamic_clone ( void  ) const
overridevirtual

Implements uhd::exception.

Reimplemented in uhd::narrowing_error.

◆ dynamic_throw()

void uhd::value_error::dynamic_throw ( void  ) const
overridevirtual

Implements uhd::exception.

Reimplemented in uhd::narrowing_error.


The documentation for this struct was generated from the following file: