Exception that is thrown by this Api.
More...
#include <exception.h>
Exception that is thrown by this Api.
◆ KinDrvException() [1/3]
KinDrv::KinDrvException::KinDrvException |
( |
| ) |
|
throw | ( | |
| ) | | |
Constructor. Constructs a new unknown exception with default parameters (type is ERROR_UNKNOWN, with "Unknown exception" as the message text).
◆ KinDrvException() [2/3]
KinDrv::KinDrvException::KinDrvException |
( |
const char * |
msg | ) |
|
throw | ( | |
| ) | | |
Constructor. Constructs a new unknown exception (type is ERROR_UNKNOWN). The error message can be set manually.
- Parameters
-
msg | The message text of the exception. |
◆ KinDrvException() [3/3]
KinDrv::KinDrvException::KinDrvException |
( |
error_t |
err, |
|
|
const char * |
msg |
|
) |
| |
throw | ( | |
| ) | | |
Constructor. Constructs a new exception, type and message text can be set manually.
- Parameters
-
err | The error type of this exception. |
msg | The message text of the exception. |
◆ ~KinDrvException()
KinDrv::KinDrvException::~KinDrvException |
( |
| ) |
|
throw | ( | |
| ) | | |
|
virtual |
◆ error()
const error_t KinDrv::KinDrvException::error |
( |
| ) |
const |
throw | ( | |
| ) | | |
Get the error type.
- Returns
- The error type of the exception.
◆ what()
const char * KinDrv::KinDrvException::what |
( |
| ) |
const |
throw | ( | |
| ) | | |
Get the error message.
- Returns
- The error message of the exception.
The documentation for this class was generated from the following files: