CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PFToolsException.h
Go to the documentation of this file.
1 #ifndef PFTOOLSEXCEPTION_H_
2 #define PFTOOLSEXCEPTION_H_
3 
4 #include <exception>
5 #include <string>
6 namespace pftools {
15 public:
16  PFToolsException(const std::string& aErrorDescription="");
17 
18  virtual ~PFToolsException() throw();
19 
20  virtual const char* what() const throw();
21 
22 protected:
23  std::string myDescription;
24 };
25 }
26 
27 #endif /*PFTOOLSEXCEPTION_HH_*/
PFToolsException(const std::string &aErrorDescription="")
virtual const char * what() const
General purpose exception class for use by classes in the pftools namespace.