CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/EventFilter/EcalTBRawToDigi/src/ECALParserException.h

Go to the documentation of this file.
00001 // Date   : 30/05/2005
00002 // Author : N.Almeida (LIP)
00003 
00004 #ifndef ECALTBPARSEREXCEPTION_H
00005 #define ECALTBPARSEREXCEPTION_H
00006 
00007 #include <iostream>
00008 #include <string>
00009 
00010 
00011 
00012 class ECALTBParserException { 
00013                 public :
00014                 
00018   ECALTBParserException( std::string  exceptionInfo_ ){ info_ = exceptionInfo_; }
00019                 
00020                 
00024                         const char * what() const throw() {     return info_.c_str();}
00025                         
00026                 protected :
00027         
00028                         std::string info_;
00029 
00030 };
00031 
00032 #endif