aGrUM 2.3.2
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 Member Functions

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

Public Attributes

std::string m_details
 Exception Details.

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.

916 : m_details(details) {}
std::string m_details
Exception Details.
Definition ticpp.h:85

References m_details.

◆ ~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(); }

Member Data Documentation

◆ m_details

std::string ticpp::Exception::m_details

Exception Details.

Definition at line 85 of file ticpp.h.

Referenced by Exception(), and ticpp::NodeImp< TiXmlComment >::FirstChildElement().


The documentation for this class was generated from the following files:
  • agrum/base/external/tinyxml/ticpp/ticpp.h
  • agrum/base/external/tinyxml/ticpp/ticpp.cpp