Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:21:39

0001 #ifndef L1Trigger_RPCException_h
0002 #define L1Trigger_RPCException_h
0003 #if (__BCPLUSPLUS__ >= 0x0550)
0004 #include <string>
0005 #include "TException.h"
0006 class RPCException : public TException {
0007 public:
0008   RPCException(std::string msg) : TException(msg){};
0009 };
0010 
0011 #elif defined _STAND_ALONE  //_MSC_VER
0012 #include <string>
0013 #include "TException.h"
0014 class RPCException : public TException {  //public __gc
0015 public:
0016   RPCException(std::string msg) : TException(msg){};
0017 };
0018 
0019 #else  // not _STAND_ALONE
0020 #include "FWCore/Utilities/interface/Exception.h"
0021 class RPCException : public cms::Exception {
0022 public:
0023   RPCException(std::string msg) : cms::Exception(msg){};
0024 };
0025 #endif  // _STAND_ALONE
0026 
0027 #endif