Exception that contains a message and an error code.
More...
#include <util.h>
Exception that contains a message and an error code.
Definition at line 14 of file util.h.
◆ Exception()
robowflex::Exception::Exception |
( |
int |
value, |
|
|
const std::string & |
message |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
[in] | value | Error code. |
[in] | message | Error message. |
Definition at line 21 of file util.h.
const std::string message_
Error message.
const int value_
Error code.
◆ getMessage()
const std::string& robowflex::Exception::getMessage |
( |
| ) |
const |
|
inline |
Get error message.
Definition at line 34 of file util.h.
◆ getValue()
int robowflex::Exception::getValue |
( |
| ) |
const |
|
inline |
Get error code.
Definition at line 27 of file util.h.
◆ what()
virtual const char* robowflex::Exception::what |
( |
| ) |
const |
throw | ( | |
| ) | | |
|
inlinevirtual |
◆ message_
Error message.
Definition at line 46 of file util.h.
◆ value_
const int robowflex::Exception::value_ |
|
protected |
Error code.
Definition at line 45 of file util.h.
The documentation for this class was generated from the following file: