Simulated Reality SDK 7500c78d v1.30.2.51085 2024-04-26T11:23:03Z
Stable
Public Member Functions | List of all members
SR::DeviceNotAvailableException Class Reference

Class of exception which indicates that a hardware device was not available for use in the SR system. More...

#include <exception.h>

Inheritance diagram for SR::DeviceNotAvailableException:
[legend]
Collaboration diagram for SR::DeviceNotAvailableException:
[legend]

Public Member Functions

 DeviceNotAvailableException (std::string deviceIdentifier)
 Constructs an instance of DeviceNotAvailableException for a specific device identifier. More...
 
 DeviceNotAvailableException ()
 Constructs an instance of DeviceNotAvailableException. More...
 
- Public Member Functions inherited from SR::Exception
 Exception (const char *message)
 Constructor (C strings). More...
 
 Exception (const std::string &message)
 Constructor (C++ STL strings). More...
 
virtual ~Exception () throw ()
 Destructor. Virtual to allow for subclassing. More...
 
virtual const char * what () const throw ()
 Returns a pointer to the (constant) error description. More...
 

Additional Inherited Members

- Protected Attributes inherited from SR::Exception
std::string errorMessage
 Error message. More...
 

Detailed Description

Class of exception which indicates that a hardware device was not available for use in the SR system.

Constructor & Destructor Documentation

◆ DeviceNotAvailableException() [1/2]

SR::DeviceNotAvailableException::DeviceNotAvailableException ( std::string  deviceIdentifier)

Constructs an instance of DeviceNotAvailableException for a specific device identifier.

Parameters
deviceIdentifiercontains a string to represent a device which doesn't seem to be available to the system.

◆ DeviceNotAvailableException() [2/2]

SR::DeviceNotAvailableException::DeviceNotAvailableException ( )

Constructs an instance of DeviceNotAvailableException.


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