Base class for exceptions. More...
#include <SgException.h>
Public Member Functions | |
SgException () | |
Construct with no message. | |
SgException (const std::string &message) | |
Construct with message. | |
SgException (const boost::format &f) | |
virtual | ~SgException () throw () |
Destructor. | |
const char * | what () const throw () |
Implementation of std::exception::what(). | |
Private Attributes | |
std::string | m_message |
Base class for exceptions.
Definition at line 16 of file SgException.h.
SgException::SgException | ( | ) |
Construct with no message.
Definition at line 13 of file SgException.cpp.
SgException::SgException | ( | const std::string & | message | ) |
Construct with message.
Definition at line 17 of file SgException.cpp.
SgException::SgException | ( | const boost::format & | f | ) |
Definition at line 22 of file SgException.cpp.
SgException::~SgException | ( | ) | throw () [virtual] |
Destructor.
Definition at line 27 of file SgException.cpp.
const char * SgException::what | ( | ) | const throw () |
Implementation of std::exception::what().
Definition at line 31 of file SgException.cpp.
References m_message.
std::string SgException::m_message [private] |
Definition at line 35 of file SgException.h.
Referenced by what().