File indexing completed on 2024-09-07 04:37:04
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
0012 #include <string>
0013 #include "TException.h"
0014 class RPCException : public TException {
0015 public:
0016 RPCException(std::string msg) : TException(msg) {}
0017 };
0018
0019 #else
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
0026
0027 #endif