Exception that is thrown by this Api.
More...
#include <exception.h>
Exception that is thrown by this Api.
KinDrv::KinDrvException::KinDrvException |
( |
| ) |
|
throw | ( | |
| ) | | |
Constructor. Constructs a new unknown exception with default parameters (type is ERROR_UNKNOWN, with "Unknown exception" as the message text).
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. |
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. |
KinDrv::KinDrvException::~KinDrvException |
( |
| ) |
|
throw | ( | |
| ) | | |
|
virtual |
const error_t KinDrv::KinDrvException::error |
( |
| ) |
const |
throw | ( | |
| ) | | |
Get the error type.
- Returns
- The error type of the exception.
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: