GIFT-Grab  1708
Copyright (c) 2015-7, University College London (UCL)
gg::DeviceAlreadyConnected Class Reference

Thrown in case a connection is attempted to a device that is already connected. More...

#include <except.h>

Inheritance diagram for gg::DeviceAlreadyConnected:
gg::BasicException

Public Member Functions

 DeviceAlreadyConnected (const std::string &detail)
 
virtual ~DeviceAlreadyConnected () noexcept
 
- Public Member Functions inherited from gg::BasicException
 BasicException (const std::string &detail)
 Constructor with detail. More...
 
virtual ~BasicException () noexcept
 Destructor. More...
 
virtual const char * what () const noexcept override
 Get exception detail. More...
 

Additional Inherited Members

- Protected Attributes inherited from gg::BasicException
std::string _detail
 Exception details. More...
 

Detailed Description

Thrown in case a connection is attempted to a device that is already connected.

Attention
In Python: This exception maps to IOError

Constructor & Destructor Documentation

§ DeviceAlreadyConnected()

gg::DeviceAlreadyConnected::DeviceAlreadyConnected ( const std::string &  detail)
Parameters
detail
See also
BasicException::BasicException

§ ~DeviceAlreadyConnected()

gg::DeviceAlreadyConnected::~DeviceAlreadyConnected ( )
virtualnoexcept

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