18 : runtime_error(
"Hypothesis between set of nodes was not found")
28 m_msg = std::runtime_error::what();
31 format(
"[from] %lu ==> ", static_cast<unsigned long>(
m_from)).c_str();
36 : runtime_error(
"Hypothesis with the given ID was not found")
43 m_msg = std::runtime_error::what();
44 m_msg +=
format(
"- ID:%lu", static_cast<unsigned long>(
id)).c_str();
const char * what() const noexcept
mrpt::graphs::TNodeID m_to
std::string getErrorMsg() const noexcept
Abstract graph and tree data structures, plus generic graph algorithms.
~HypothesisNotFoundException() noexcept
std::string m_msg
Error message.
GLsizei const GLchar ** string
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
std::string format(const char *fmt,...) MRPT_printf_format_check(1
A std::string version of C sprintf.
uint64_t TNodeID
A generic numeric type for unique IDs of nodes or entities.
HypothesisNotFoundException(mrpt::graphs::TNodeID from, mrpt::graphs::TNodeID to)
mrpt::graphs::TNodeID m_from
size_t m_id
Hypothesis ID.
std::string persistent_error_msg