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
#ifndef hcal_ConfigurationDatabaseException_hh_included
#define hcal_ConfigurationDatabaseException_hh_included 1

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

namespace hcal {
  namespace exception {

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

  }  // namespace exception
}  // namespace hcal

#endif  // hcal_ConfigurationDatabaseException_hh_included