An exception used when the sensor returns an error related to a command excecution.
More...
#include <SensorErrorException.h>
An exception used when the sensor returns an error related to a command excecution.
◆ SensorErrorException() [1/3]
| SensorErrorException::SensorErrorException |
( |
const char * | message, |
|
|
const char * | translateCode ) |
|
inlineexplicit |
Copy constructor.
- Parameters
-
| message | A message pointer to a char |
◆ SensorErrorException() [2/3]
| SensorErrorException::SensorErrorException |
( |
string | code, |
|
|
const string & | message, |
|
|
string | translateCode ) |
|
explicit |
Copy constructor.
- Parameters
-
| code | The error code |
| message | A message string |
◆ SensorErrorException() [3/3]
| SensorErrorException::SensorErrorException |
( |
const string & | message, |
|
|
string | translateCode ) |
|
inlineexplicit |
Copy constructor.
- Parameters
-
◆ ~SensorErrorException()
| virtual SensorErrorException::~SensorErrorException |
( |
| ) |
|
|
inlinevirtualnoexcept |
◆ GetErrorCode()
| string SensorErrorException::GetErrorCode |
( |
| ) |
|
◆ what()
| virtual const char * SensorErrorException::what |
( |
| ) |
const |
|
inlinevirtualnoexcept |
Overload of message retrie.
- Returns
- A pointer to a char representing the message
◆ _code
| string SensorErrorException::_code = "" |
|
protected |
◆ _msg
| string SensorErrorException::_msg |
|
protected |
The documentation for this class was generated from the following files: