MapsException Class Reference

#include <MapsException.hh>

Inheritance diagram for MapsException:

List of all members.

Detailed Description

MapsException.hh

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


Constructor & Destructor Documentation

MapsException::MapsException ( const std::string &  aErrorDescription = ""  ) 

Definition at line 3 of file MapsException.cc.

References myDescription.

virtual MapsException::~MapsException (  )  throw () [inline, virtual]

Definition at line 22 of file MapsException.hh.


Member Function Documentation

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

Definition at line 9 of file MapsException.cc.

References myDescription.

Referenced by MapsSensor::getEfficiencyByGroup(), and main().


Member Data Documentation

std::string MapsException::myDescription [protected]

Definition at line 25 of file MapsException.hh.

Referenced by MapsException(), and what().


The documentation for this class was generated from the following files:
Generated on Wed Mar 19 17:47:58 2008 for MapsTracks by  doxygen 1.5.2