The exception type used in this library. More...
Public Member Functions | |
| EException (eVision::EError error, const char *str_message) | |
| Constructs an exception object. | |
| EException (eVision::EError error, const std::string &message) | |
| Constructs an exception object. | |
| EException (const char *str_message) | |
| Constructs an exception object. | |
| EException (const std::string &message) | |
| Constructs an exception object. | |
| std::string | What () const |
| Returns the description of the error that has thrown the exception. | |
| eVision::EError | GetError () const |
| Returns the code of the error that has thrown the exception. | |
| void | SetError (eVision::EError error) |
| Sets the code of the error that has thrown the exception. | |
The exception type used in this library.
| eVision::EException::EException | ( | eVision::EError | error, |
| const char * | str_message ) |
Constructs an exception object.
| error | The error code. |
| str_message | A string to construct the exception from. |
| eVision::EException::EException | ( | eVision::EError | error, |
| const std::string & | message ) |
Constructs an exception object.
| error | The error code. |
| message | A string to construct the exception from. |
| eVision::EException::EException | ( | const char * | str_message | ) |
Constructs an exception object.
| str_message | A string to construct the exception from. |
| eVision::EException::EException | ( | const std::string & | message | ) |
Constructs an exception object.
| message | A string to construct the exception from. |
| eVision::EError eVision::EException::GetError | ( | ) | const |
Returns the code of the error that has thrown the exception.
| void eVision::EException::SetError | ( | eVision::EError | error | ) |
Sets the code of the error that has thrown the exception.
| std::string eVision::EException::What | ( | ) | const |
Returns the description of the error that has thrown the exception.