File indexing completed on 2024-04-06 12:01:31
0001 #ifndef CondCore_DBOutputService_Exception_h
0002 #define CondCore_DBOutputService_Exception_h
0003 #include "CondCore/CondDB/interface/Exception.h"
0004 #include <string>
0005 namespace cond {
0006 class UnregisteredRecordException : public Exception {
0007 public:
0008 UnregisteredRecordException(const std::string& recordName)
0009 : Exception(std::string("PoolDBOutputService: unregistered record " + recordName)) {}
0010 ~UnregisteredRecordException() throw() override {}
0011 };
0012 }
0013 #endif