aGrUM  0.16.0
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.

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

◆ ~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.

References m_details.

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.

Referenced by what().


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