Index   Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  
Public Member Functions | Private Attributes

SgException Class Reference

Base class for exceptions. More...

#include <SgException.h>

Inheritance diagram for SgException:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

Base class for exceptions.

Definition at line 16 of file SgException.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

const char * SgException::what (  )  const throw ()

Implementation of std::exception::what().

Definition at line 31 of file SgException.cpp.

References m_message.


Member Data Documentation

std::string SgException::m_message [private]

Definition at line 35 of file SgException.h.

Referenced by what().


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


Sun Mar 13 2011 Doxygen 1.7.1