GG::ExceptionBase Class Reference

This is the base class for all GG exceptions. More...

#include <Exception.h>

List of all members.

Public Member Functions

 ExceptionBase () throw ()
 ExceptionBase (const std::string &msg) throw ()
 ~ExceptionBase () throw ()
virtual const char * type () const=0 throw ()
virtual const char * what () const throw ()


Detailed Description

This is the base class for all GG exceptions.

It is based on the std::exception class. As required by its inheritance from std::exceptions not throw other exceptions, the no-throw exception specification has been added to every member function.

Definition at line 57 of file Exception.h.


Constructor & Destructor Documentation

GG::ExceptionBase::ExceptionBase (  )  throw () [inline]

default ctor

Definition at line 60 of file Exception.h.

GG::ExceptionBase::ExceptionBase ( const std::string &  msg  )  throw () [inline]

a ctor that allows the throwing code to include a text message

Definition at line 61 of file Exception.h.

GG::ExceptionBase::~ExceptionBase (  )  throw () [inline]

dtor required by std::exception

Definition at line 62 of file Exception.h.


Member Function Documentation

virtual const char* GG::ExceptionBase::type (  )  const throw () [pure virtual]

returns a string representation of the type this exception


The documentation for this class was generated from the following file:
Generated on Wed Mar 26 14:35:42 2008 for GG by  doxygen 1.5.2