Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:10:37

0001 // Date   : 30/05/2005
0002 // Author : N.Almeida (LIP)
0003 
0004 #ifndef ECALTBPARSERBLOCKEXCEPTION_H
0005 #define ECALTBPARSERBLOCKEXCEPTION_H
0006 
0007 #include <iostream>
0008 #include <string>
0009 
0010 class ECALTBParserBlockException {
0011 public:
0012   /**
0013              * Constructor
0014              */
0015   ECALTBParserBlockException(std::string exceptionInfo_) { info_ = exceptionInfo_; }
0016 
0017   /**
0018              * Exception's discription
0019              */
0020   const char* what() const throw() { return info_.c_str(); }
0021 
0022 protected:
0023   std::string info_;
0024 };
0025 
0026 #endif