USRP Hardware Driver and USRP Manual Version: 4.0.0.0
UHD and USRP Manual
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
uhd::lookup_error Struct Reference

#include <uhd/exception.hpp>

Inheritance diagram for uhd::lookup_error:
uhd::exception uhd::index_error uhd::key_error

Public Member Functions

 lookup_error (const std::string &what)
 
virtual unsigned code (void) const
 
virtual lookup_errordynamic_clone (void) const
 
virtual void dynamic_throw (void) const
 
- Public Member Functions inherited from uhd::exception
 exception (const std::string &what)
 
virtual unsigned code (void) const =0
 
virtual exceptiondynamic_clone (void) const =0
 
virtual void dynamic_throw (void) const =0
 

Detailed Description

The base class for exceptions that are raised when a key or index is invalid.

Constructor & Destructor Documentation

◆ lookup_error()

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

Member Function Documentation

◆ code()

virtual unsigned uhd::lookup_error::code ( void  ) const
virtual

Implements uhd::exception.

Reimplemented in uhd::index_error, and uhd::key_error.

◆ dynamic_clone()

virtual lookup_error * uhd::lookup_error::dynamic_clone ( void  ) const
virtual

Implements uhd::exception.

Reimplemented in uhd::index_error, and uhd::key_error.

◆ dynamic_throw()

virtual void uhd::lookup_error::dynamic_throw ( void  ) const
virtual

Implements uhd::exception.

Reimplemented in uhd::index_error, and uhd::key_error.


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