CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_4_5_patch3/src/L1Trigger/RPCTrigger/interface/RPCException.h

Go to the documentation of this file.
00001 #ifndef L1Trigger_RPCException_h
00002 #define L1Trigger_RPCException_h
00003 #if (__BCPLUSPLUS__ >= 0x0550)
00004 #include <string>
00005 #include "TException.h"
00006 class RPCException: public TException {
00007    public:
00008      RPCException(std::string msg) : TException(msg) {};
00009  };
00010  
00011 #elif defined _STAND_ALONE //_MSC_VER
00012 #include <string>
00013 #include "TException.h"
00014   class RPCException: public TException { //public __gc 
00015    public:
00016      RPCException(std::string msg) : TException(msg) {};
00017 };
00018 
00019 #else // not _STAND_ALONE
00020 #include "FWCore/Utilities/interface/Exception.h"
00021   class RPCException: public cms::Exception {
00022     public:
00023       RPCException(std::string msg) : cms::Exception(msg) {};
00024 };
00025 #endif // _STAND_ALONE
00026  
00027 #endif