DUNE: Uniform Navigational Environment
2016.09.0
|
Public Member Functions | |
Error (int code, const std::string &msg) | |
Error (int code, const std::string &msg, const std::string &args) | |
Error (int code, const std::string &msg, int args) | |
Error (const std::string &estr, const std::string &msg) | |
Error (const std::string &estr, const std::string &msg, const std::string &args) | |
~Error (void) throw () | |
const char * | what (void) const throw () |
Static Public Member Functions | |
static std::string | getLastMessage (void) |
static std::string | getMessage (int ec) |
|
inline |
|
inline |
Constructor.
[in] | code | error code. |
[in] | msg | message to the user. |
[in] | args | user message arguments. |
References getMessage().
|
inline |
Constructor.
[in] | code | error code. |
[in] | msg | message to the user. |
[in] | args | user message argument. |
References getMessage().
|
inline |
Constructor.
[in] | estr | error message. |
[in] | msg | message to the user. |
|
inline |
Constructor.
[in] | estr | error message. |
[in] | msg | message to the user. |
[in] | args | user message arguments. |
|
inline |
Destructor.
|
inlinestatic |
Retrieve the message of the last error.
References getMessage().
Referenced by DUNE::Hardware::I2C::connect(), DUNE::FileSystem::FileLock::FileLock(), DUNE::Hardware::I2C::I2C(), DUNE::Parsers::Config::parseFile(), DUNE::Hardware::I2C::read(), DUNE::Hardware::SerialPort::SerialPort(), DUNE::Hardware::SerialPort::setBaudRate(), DUNE::Hardware::SerialPort::setCanonicalInput(), DUNE::Hardware::SerialPort::setCanonicalInputTerminator(), DUNE::Hardware::SerialPort::setCTSRTS(), DUNE::Hardware::SerialPort::setDataBits(), DUNE::Hardware::SerialPort::setMinimumRead(), DUNE::Hardware::SerialPort::setNonBlocking(), DUNE::Hardware::SerialPort::setParity(), DUNE::Hardware::SerialPort::setStopBits(), DUNE::Hardware::SerialPort::setXONXOFF(), DUNE::Hardware::throwLastError(), and DUNE::Hardware::I2C::write().
|
inlinestatic |
Retrieve the message associated with a specific error code.
[in] | ec | error code. |
Referenced by Error(), getLastMessage(), and DUNE::Concurrency::SharedMemory::~SharedMemory().
|
inline |
Get the full description of the exception.
Referenced by DUNE::Tasks::Creator::fromDDT().