Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
openfluid::base::Exception Class Referenceabstract

#include <base/Exception.hpp>

Inheritance diagram for openfluid::base::Exception:
Inheritance graph
[legend]
Collaboration diagram for openfluid::base::Exception:
Collaboration graph
[legend]

Public Member Functions

virtual ~Exception () throw ()
 
const char * what () const throw ()
 
const std::string getMessage () const
 
const std::string getFullMessage () const
 
const ExceptionContext getContext () const
 

Protected Member Functions

virtual void buildFullMessage ()=0
 
 Exception (const std::string &Msg)
 
 Exception (const ExceptionContext &Context, const std::string &Msg)
 

Protected Attributes

std::string m_Message
 
ExceptionContext m_Context
 
std::string m_FullMessage
 

Constructor & Destructor Documentation

◆ Exception() [1/2]

openfluid::base::Exception::Exception ( const std::string &  Msg)
inlineprotected

◆ Exception() [2/2]

openfluid::base::Exception::Exception ( const ExceptionContext Context,
const std::string &  Msg 
)
inlineprotected

◆ ~Exception()

virtual openfluid::base::Exception::~Exception ( )
throw (
)
inlinevirtual

Member Function Documentation

◆ buildFullMessage()

virtual void openfluid::base::Exception::buildFullMessage ( )
protectedpure virtual

◆ getContext()

const ExceptionContext openfluid::base::Exception::getContext ( ) const
inline

◆ getFullMessage()

const std::string openfluid::base::Exception::getFullMessage ( ) const
inline

◆ getMessage()

const std::string openfluid::base::Exception::getMessage ( ) const
inline

◆ what()

const char* openfluid::base::Exception::what ( ) const
throw (
)
inline

Member Data Documentation

◆ m_Context

ExceptionContext openfluid::base::Exception::m_Context
protected

◆ m_FullMessage

std::string openfluid::base::Exception::m_FullMessage
protected

◆ m_Message

std::string openfluid::base::Exception::m_Message
protected

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