File indexing completed on 2024-04-06 12:01:24
0001 #ifndef CondCore_CondDB_Exception_h
0002 #define CondCore_CondDB_Exception_h
0003
0004 #include "FWCore/Utilities/interface/Exception.h"
0005
0006 namespace cond {
0007
0008 namespace persistency {
0009
0010
0011 class Exception : public cms::Exception {
0012 public:
0013
0014 explicit Exception(const std::string& message);
0015
0016 Exception(const std::string& message, const std::string& methodName);
0017
0018 ~Exception() throw() override {}
0019 };
0020
0021 void throwException [[noreturn]] (const std::string& message, const std::string& methodName);
0022
0023 }
0024
0025 typedef persistency::Exception Exception;
0026
0027 void throwException [[noreturn]] (const std::string& message, const std::string& methodName);
0028
0029 }
0030
0031 #endif