CMS 3D CMS Logo

CMSSW_4_4_3_patch1/src/EventFilter/EcalTBRawToDigi/src/ECALParserBlockException.h

Go to the documentation of this file.
00001 // Date   : 30/05/2005
00002 // Author : N.Almeida (LIP)
00003 
00004 #ifndef ECALTBPARSERBLOCKEXCEPTION_H
00005 #define ECALTBPARSERBLOCKEXCEPTION_H
00006 
00007 #include <iostream>
00008 #include <string>
00009 
00010 
00011 
00012 class ECALTBParserBlockException{ 
00013                 public :
00014                 
00018   ECALTBParserBlockException(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