CMS 3D CMS Logo

Public Member Functions | Protected Attributes

pftools::PFToolsException Class Reference

General purpose exception class for use by classes in the pftools namespace. More...

#include <PFToolsException.h>

List of all members.

Public Member Functions

 PFToolsException (const std::string &aErrorDescription="")
virtual const char * what () const throw ()
virtual ~PFToolsException () throw ()

Protected Attributes

std::string myDescription

Detailed Description

General purpose exception class for use by classes in the pftools namespace.

Author:
Jamie Ballin
Date:
April 2008

Definition at line 14 of file PFToolsException.h.


Constructor & Destructor Documentation

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.

{
}

Member Function Documentation

const char * PFToolsException::what ( ) const throw () [virtual]

Definition at line 15 of file PFToolsException.cc.

References myDescription.

                                                {
        return myDescription.c_str();
}

Member Data Documentation

Definition at line 23 of file PFToolsException.h.

Referenced by PFToolsException(), and what().