#include <MapsException.hh>
Inheritance diagram for MapsException:
Jamie Ballin, Imperial College London February 2008
General exception for something's gone gaga!
The author chooses to throw exceptions when a method is asked to do something that should never be asked of it, or it cannot adhere to its "advertised contract".
I wish I could be writing Java. Woe is me.
Definition at line 18 of file MapsException.hh.
Public Member Functions | |
MapsException (const std::string &aErrorDescription="") | |
virtual | ~MapsException () throw () |
const char * | what () const throw () |
Protected Attributes | |
std::string | myDescription |
MapsException::MapsException | ( | const std::string & | aErrorDescription = "" |
) |
virtual MapsException::~MapsException | ( | ) | throw () [inline, virtual] |
Definition at line 22 of file MapsException.hh.
const char * MapsException::what | ( | ) | const throw () |
Definition at line 9 of file MapsException.cc.
References myDescription.
Referenced by MapsSensor::getEfficiencyByGroup(), and main().
std::string MapsException::myDescription [protected] |