DCS_SDK  2.0.0
TCP/IP control library for Ai DCS-100E and DCS-103E
Public Member Functions | List of all members
AdvancedIllumination::DeviceError Class Reference

An exception representing an error message from the device. More...

#include <DCS100.h>

Inheritance diagram for AdvancedIllumination::DeviceError:

Public Member Functions

virtual const char * what () const noexcept
 Gets the exception message. More...
 
 DeviceError (const std::string msg)
 Constructor. More...
 
virtual ~DeviceError () noexcept
 Destructor. More...
 

Detailed Description

An exception representing an error message from the device.


Constructor & Destructor Documentation

◆ DeviceError()

AdvancedIllumination::DeviceError::DeviceError ( const std::string  msg)

Constructor.

Creates an instance of the exception with the given message.

Parameters
msgThe message.

◆ ~DeviceError()

AdvancedIllumination::DeviceError::~DeviceError ( )
virtualnoexcept

Destructor.


Member Function Documentation

◆ what()

const char * AdvancedIllumination::DeviceError::what ( ) const
virtualnoexcept

Gets the exception message.


Returns
Null if it fails, else a pointer to a const char (C-string).

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