aGrUM  0.18.2
a C++ library for (probabilistic) graphical models
gum::NotFound Class Reference

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

+ Inheritance diagram for gum::NotFound:
+ Collaboration diagram for gum::NotFound:

Public Member Functions

const std::string what () const
 
const std::string errorContent () const
 Returns the message content. More...
 
const std::string errorType () const
 Returns the error type. More...
 
const std::string errorCallStack () const
 Returns the error call stack. More...
 

Protected Attributes

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

Detailed Description

Exception : the element we looked for cannot be found

Definition at line 241 of file exceptions.h.

Member Function Documentation

◆ errorCallStack()

const std::string gum::Exception::errorCallStack ( ) const
inlineinherited

Returns the error call stack.

Returns
Returns the error call stack.

Definition at line 147 of file exceptions.h.

References gum::Exception::callstack_.

147 { return callstack_; }
std::string callstack_
Definition: exceptions.h:110

◆ errorContent()

const std::string gum::Exception::errorContent ( ) const
inlineinherited

◆ errorType()

const std::string gum::Exception::errorType ( ) const
inlineinherited

Returns the error type.

Returns
Returns the error type.

Definition at line 141 of file exceptions.h.

References gum::Exception::type_.

141 { return type_; }
std::string type_
Definition: exceptions.h:109

◆ what()

const std::string gum::Exception::what ( ) const
inlineinherited

Definition at line 128 of file exceptions.h.

References gum::Exception::msg_.

Referenced by gum::Exception::~Exception().

128 { return type_ + " : " + msg_; }
std::string type_
Definition: exceptions.h:109
std::string msg_
Definition: exceptions.h:108
+ Here is the caller graph for this function:

Member Data Documentation

◆ callstack_

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

Definition at line 110 of file exceptions.h.

Referenced by gum::Exception::errorCallStack().

◆ msg_

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

◆ type_

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

Definition at line 109 of file exceptions.h.

Referenced by gum::Exception::errorType().


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