aGrUM 3.0.0
a C++ library for (probabilistic) graphical models
HedgeException Class Reference

Exception : "hedge" (witness of non-identifiability) is detected in do-calculus / ID computations. More...

#include <agrum/base/core/exceptions.h>

Inheritance diagram for HedgeException:
Collaboration diagram for HedgeException:

Public Member Functions

GUM_NODISCARD const char * what () const noexcept override
GUM_NODISCARD std::string errorContent () const
 Returns the message content.
GUM_NODISCARD std::string errorType () const
 Returns the error type.
GUM_NODISCARD std::string errorCallStack () const
 Returns the error call stack.

Protected Attributes

std::string msg_
std::string type_
std::string callstack_
std::string what_

Detailed Description

Exception : "hedge" (witness of non-identifiability) is detected in do-calculus / ID computations.

Member Function Documentation

◆ errorCallStack()

GUM_NODISCARD INLINE std::string gum::Exception::errorCallStack ( ) const
inherited

Returns the error call stack.

Returns
Returns the error call stack.

Definition at line 56 of file exceptions_inl.h.

56{ return callstack_; }
std::string callstack_
Definition exceptions.h:126

References callstack_, and GUM_NODISCARD.

Referenced by ~Exception().

Here is the caller graph for this function:

◆ errorContent()

GUM_NODISCARD INLINE std::string gum::Exception::errorContent ( ) const
inherited

Returns the message content.

Returns
Returns the message content.

Definition at line 52 of file exceptions_inl.h.

52{ return msg_; }
std::string msg_
Definition exceptions.h:124

References GUM_NODISCARD, and msg_.

Referenced by ~Exception(), gum::prm::o3prmr::O3prmrInterpreter::checkObserve(), gum::prm::o3prmr::O3prmrInterpreter::checkQuery(), gum::prm::o3prmr::O3prmrInterpreter::checkSemantic(), gum::prm::o3prmr::O3prmrInterpreter::checkUnobserve(), gum::prm::o3prmr::O3prmrInterpreter::import(), gum::prm::o3prmr::O3prmrInterpreter::interpret(), and gum::prm::o3prm::O3prmReader< GUM_SCALAR >::readFile().

Here is the caller graph for this function:

◆ errorType()

GUM_NODISCARD INLINE std::string gum::Exception::errorType ( ) const
inherited

Returns the error type.

Returns
Returns the error type.

Definition at line 54 of file exceptions_inl.h.

54{ return type_; }
std::string type_
Definition exceptions.h:125

References GUM_NODISCARD, and type_.

Referenced by ~Exception().

Here is the caller graph for this function:

◆ what()

GUM_NODISCARD INLINE const char * gum::Exception::what ( ) const
overridenoexceptinherited

Definition at line 50 of file exceptions_inl.h.

50{ return what_.c_str(); }
std::string what_
Definition exceptions.h:127

References GUM_NODISCARD, and what_.

Member Data Documentation

◆ callstack_

std::string gum::Exception::callstack_
protectedinherited

Definition at line 126 of file exceptions.h.

Referenced by errorCallStack().

◆ msg_

std::string gum::Exception::msg_
protectedinherited

Definition at line 124 of file exceptions.h.

Referenced by errorContent().

◆ type_

std::string gum::Exception::type_
protectedinherited

Definition at line 125 of file exceptions.h.

Referenced by errorType().

◆ what_

std::string gum::Exception::what_
protectedinherited

Definition at line 127 of file exceptions.h.

Referenced by what().


The documentation for this class was generated from the following file: