UnregisteredRecordException

Macros

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13
#ifndef CondCore_DBOutputService_Exception_h
#define CondCore_DBOutputService_Exception_h
#include "CondCore/CondDB/interface/Exception.h"
#include <string>
namespace cond {
  class UnregisteredRecordException : public Exception {
  public:
    UnregisteredRecordException(const std::string& recordName)
        : Exception(std::string("PoolDBOutputService: unregistered record " + recordName)) {}
    ~UnregisteredRecordException() throw() override {}
  };
}  // namespace cond
#endif