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