Exception class.
More...
#include <rec_rpc_Exception.h>
Exception class.
Definition at line 70 of file rec_rpc_Exception.h.
Constructor.
- Parameters
-
code | Error code. |
detail | Detailled human readable error message. |
virtual rec::rpc::Exception::~Exception |
( |
| ) |
|
throw | ( | |
| ) | | |
|
virtual |
QString rec::rpc::Exception::detail |
( |
| ) |
const |
- Returns
- The detailled error message only (if any).
ErrorCode rec::rpc::Exception::errorCode |
( |
| ) |
const |
QString rec::rpc::Exception::getMessage |
( |
| ) |
const |
- Returns
- Human readable error message.
static QString rec::rpc::Exception::messageFromErrorCode |
( |
ErrorCode |
code | ) |
|
|
static |
Error message from error code.
- Parameters
-
- Returns
- Error message.
virtual const char* rec::rpc::Exception::what |
( |
| ) |
const |
throw | ( | |
| ) | | |
|
virtual |
For std::exception compatibility.
- Returns
- Error message as C string.
The documentation for this class was generated from the following file: