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

openfluid::base::Exception::Exception ( const std::string &  Msg)
inlineprotected
openfluid::base::Exception::Exception ( const ExceptionContext Context,
const std::string &  Msg 
)
inlineprotected
virtual openfluid::base::Exception::~Exception ( )
throw (
)
inlinevirtual

Member Function Documentation

virtual void openfluid::base::Exception::buildFullMessage ( )
protectedpure virtual
const ExceptionContext openfluid::base::Exception::getContext ( ) const
inline
const std::string openfluid::base::Exception::getFullMessage ( ) const
inline
const std::string openfluid::base::Exception::getMessage ( ) const
inline
const char* openfluid::base::Exception::what ( ) const
throw (
)
inline

Member Data Documentation

ExceptionContext openfluid::base::Exception::m_Context
protected
std::string openfluid::base::Exception::m_FullMessage
protected
std::string openfluid::base::Exception::m_Message
protected

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