MRPT  1.9.9
mrpt::graphs::HypothesisNotFoundException Class Reference

Detailed Description

Definition at line 20 of file CHypothesisNotFoundException.h.

#include <mrpt/graphs/CHypothesisNotFoundException.h>

Inheritance diagram for mrpt::graphs::HypothesisNotFoundException:
Inheritance graph

Public Member Functions

 HypothesisNotFoundException (mrpt::graphs::TNodeID from, mrpt::graphs::TNodeID to)
 
 HypothesisNotFoundException (size_t id)
 
 ~HypothesisNotFoundException () noexcept
 
void clear ()
 
std::string getErrorMsg () const noexcept
 
const char * what () const noexcept
 

Private Attributes

mrpt::graphs::TNodeID m_from
 
mrpt::graphs::TNodeID m_to
 
size_t m_id
 Hypothesis ID. More...
 
std::string m_msg
 Error message. More...
 

Constructor & Destructor Documentation

◆ HypothesisNotFoundException() [1/2]

HypothesisNotFoundException::HypothesisNotFoundException ( mrpt::graphs::TNodeID  from,
mrpt::graphs::TNodeID  to 
)

Definition at line 16 of file CHypothesisNotFoundException.cpp.

References clear(), mrpt::format(), m_from, m_msg, and m_to.

◆ HypothesisNotFoundException() [2/2]

HypothesisNotFoundException::HypothesisNotFoundException ( size_t  id)

Definition at line 35 of file CHypothesisNotFoundException.cpp.

References clear(), mrpt::format(), m_id, and m_msg.

◆ ~HypothesisNotFoundException()

HypothesisNotFoundException::~HypothesisNotFoundException ( )
noexcept

Definition at line 55 of file CHypothesisNotFoundException.cpp.

Member Function Documentation

◆ clear()

void HypothesisNotFoundException::clear ( )

Definition at line 47 of file CHypothesisNotFoundException.cpp.

References INVALID_NODEID, m_from, m_id, m_msg, m_to, and SIZE_MAX.

Referenced by HypothesisNotFoundException().

◆ getErrorMsg()

std::string HypothesisNotFoundException::getErrorMsg ( ) const
noexcept

Definition at line 56 of file CHypothesisNotFoundException.cpp.

References m_msg.

Referenced by what().

◆ what()

const char * HypothesisNotFoundException::what ( ) const
noexcept

Definition at line 63 of file CHypothesisNotFoundException.cpp.

References getErrorMsg(), and persistent_error_msg.

Member Data Documentation

◆ m_from

mrpt::graphs::TNodeID mrpt::graphs::HypothesisNotFoundException::m_from
private

Definition at line 32 of file CHypothesisNotFoundException.h.

Referenced by clear(), and HypothesisNotFoundException().

◆ m_id

size_t mrpt::graphs::HypothesisNotFoundException::m_id
private

Hypothesis ID.

Definition at line 35 of file CHypothesisNotFoundException.h.

Referenced by clear(), and HypothesisNotFoundException().

◆ m_msg

std::string mrpt::graphs::HypothesisNotFoundException::m_msg
private

Error message.

Definition at line 38 of file CHypothesisNotFoundException.h.

Referenced by clear(), getErrorMsg(), and HypothesisNotFoundException().

◆ m_to

mrpt::graphs::TNodeID mrpt::graphs::HypothesisNotFoundException::m_to
private

Definition at line 32 of file CHypothesisNotFoundException.h.

Referenced by clear(), and HypothesisNotFoundException().




Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: 7d5e6d718 Fri Aug 24 01:51:28 2018 +0200 at lun nov 2 08:35:50 CET 2020