General purpose exception class for use by classes in the pftools namespace. More...
#include <PFToolsException.h>
Public Member Functions | |
PFToolsException (const std::string &aErrorDescription="") | |
virtual const char * | what () const throw () |
virtual | ~PFToolsException () throw () |
Protected Attributes | |
std::string | myDescription |
General purpose exception class for use by classes in the pftools namespace.
Definition at line 14 of file PFToolsException.h.
PFToolsException::PFToolsException | ( | const std::string & | aErrorDescription = "" | ) |
Definition at line 6 of file PFToolsException.cc.
References myDescription.
{ myDescription = aErrorDescription; }
PFToolsException::~PFToolsException | ( | ) | throw () [virtual] |
Definition at line 11 of file PFToolsException.cc.
{ }
const char * PFToolsException::what | ( | ) | const throw () [virtual] |
Definition at line 15 of file PFToolsException.cc.
References myDescription.
{ return myDescription.c_str(); }
std::string pftools::PFToolsException::myDescription [protected] |
Definition at line 23 of file PFToolsException.h.
Referenced by PFToolsException(), and what().