CMS 3D CMS Logo

/data/git/CMSSW_5_3_11_patch5/src/EventFilter/EcalRawToDigi/interface/ECALUnpackerException.h

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