aGrUM  0.20.3
a C++ library for (probabilistic) graphical models
ticpp::Exception Class Reference

This is a ticpp exception class. More...

#include <ticpp.h>

Inherits std::exception.

Public Attributes

std::string m_details
 Exception Details. More...
 

Public Member Functions

 Exception (const std::string &details)
 Construct an exception with a message. More...
 
 ~Exception () throw ()
 
const char * what () const throw ()
 Override std::exception::what() to return m_details. More...
 

Detailed Description

This is a ticpp exception class.

Definition at line 74 of file ticpp.h.

Constructor & Destructor Documentation

◆ Exception()

Exception::Exception ( const std::string &  details)

Construct an exception with a message.

Definition at line 915 of file ticpp.cpp.

References Exception().

Referenced by Exception().

916  : m_details(details) {}
std::string m_details
Exception Details.
Definition: ticpp.h:85
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ~Exception()

Exception::~Exception ( )
throw (
)

Definition at line 918 of file ticpp.cpp.

918 {}

Member Function Documentation

◆ what()

const char * Exception::what ( ) const
throw (
)

Override std::exception::what() to return m_details.

Definition at line 920 of file ticpp.cpp.

920 { return m_details.c_str(); }
std::string m_details
Exception Details.
Definition: ticpp.h:85

Member Data Documentation

◆ m_details

std::string ticpp::Exception::m_details

Exception Details.

Definition at line 85 of file ticpp.h.


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