Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
#ifndef hcal_ConfigurationItemNotFoundException_hh_included
#define hcal_ConfigurationItemNotFoundException_hh_included 1

#include "CaloOnlineTools/HcalOnlineDb/interface/ConfigurationDatabaseException.hh"

namespace hcal {
  namespace exception {

    class ConfigurationItemNotFoundException : public ConfigurationDatabaseException {
    public:
      ConfigurationItemNotFoundException(const std::string& name,
                                         const std::string& message,
                                         const std::string& module,
                                         int line,
                                         const std::string& function)
          : ConfigurationDatabaseException(name, message, module, line, function) {}

#ifdef HAVE_XDAQ
      ConfigurationItemNotFoundException(const std::string& name,
                                         const std::string& message,
                                         const std::string& module,
                                         int line,
                                         const std::string& function,
                                         xcept::Exception& e)
          : ConfigurationDatabaseException(name, message, module, line, function, e) {}
#endif
    };

  }  // namespace exception
}  // namespace hcal

#endif  // hcal_ConfigurationItemNotFoundException_hh_included