Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:52:16

0001 #ifndef CondTools_L1Trigger_Exception_h
0002 #define CondTools_L1Trigger_Exception_h
0003 // -*- C++ -*-
0004 //
0005 // Package:     L1Trigger
0006 // Class  :     Exception
0007 //
0008 /**\class Exception Exception.h CondTools/L1Trigger/interface/Exception.h
0009 
0010  Description: <one line class summary>
0011 
0012  Usage:
0013     <usage>
0014 
0015 */
0016 //
0017 // Original Author:  Werner Sun
0018 //         Created:  Mon Mar 24 21:27:21 CET 2008
0019 // $Id: Exception.h,v 1.1 2008/04/16 23:44:23 wsun Exp $
0020 //
0021 
0022 // system include files
0023 #include <string>
0024 
0025 // user include files
0026 #include "CondCore/CondDB/interface/Exception.h"
0027 
0028 // forward declarations
0029 
0030 namespace l1t {
0031 
0032   class DataAlreadyPresentException : public cond::Exception {
0033   public:
0034     explicit DataAlreadyPresentException(const std::string& message);
0035     ~DataAlreadyPresentException() throw() override;
0036 
0037     // ---------- const member functions ---------------------
0038 
0039     // ---------- static member functions --------------------
0040 
0041     // ---------- member functions ---------------------------
0042 
0043   private:
0044     //DataAlreadyPresentException(const DataAlreadyPresentException&); // stop default
0045 
0046     //const DataAlreadyPresentException& operator=(const DataAlreadyPresentException&); // stop default
0047 
0048     // ---------- member data --------------------------------
0049   };
0050 
0051   class DataInvalidException : public cond::Exception {
0052   public:
0053     explicit DataInvalidException(const std::string& message);
0054     ~DataInvalidException() throw() override;
0055 
0056     // ---------- const member functions ---------------------
0057 
0058     // ---------- static member functions --------------------
0059 
0060     // ---------- member functions ---------------------------
0061 
0062   private:
0063     //DataInvalidException(const DataInvalidException&); // stop default
0064 
0065     //const DataInvalidException& operator=(const DataInvalidException&); // stop default
0066 
0067     // ---------- member data --------------------------------
0068   };
0069 
0070 }  // namespace l1t
0071 
0072 #endif