Index   Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  

SgException Class Reference

#include <SgException.h>

Inheritance diagram for SgException:

Inheritance graph
List of all members.

Detailed Description

Base class for exceptions.

Definition at line 16 of file SgException.h.

Public Member Functions

 SgException ()
 Construct with no message.
 SgException (const std::string &message)
 Construct with message.
virtual ~SgException () throw ()
const char * what () const throw ()
 Implementation of std::exception::what().

Private Attributes

std::string m_message

Constructor & Destructor Documentation

SgException::SgException (  ) 

Construct with no message.

Definition at line 14 of file SgException.cpp.

SgException::SgException ( const std::string &  message  ) 

Construct with message.

Definition at line 18 of file SgException.cpp.

References m_message.

SgException::~SgException (  )  throw () [virtual]


Definition at line 23 of file SgException.cpp.

Member Function Documentation

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

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

Definition at line 27 of file SgException.cpp.

References m_message.

Member Data Documentation

std::string SgException::m_message [private]

Definition at line 33 of file SgException.h.

Referenced by SgException(), and what().

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

17 Jun 2010 Doxygen 1.4.7