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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
#ifndef CondTools_L1Trigger_Exception_h
#define CondTools_L1Trigger_Exception_h
// -*- C++ -*-
//
// Package: L1Trigger
// Class : Exception
//
/**\class Exception Exception.h CondTools/L1Trigger/interface/Exception.h
Description: <one line class summary>
Usage:
<usage>
*/
//
// Original Author: Werner Sun
// Created: Mon Mar 24 21:27:21 CET 2008
// $Id: Exception.h,v 1.1 2008/04/16 23:44:23 wsun Exp $
//
// system include files
#include <string>
// user include files
#include "CondCore/CondDB/interface/Exception.h"
// forward declarations
namespace l1t {
class DataAlreadyPresentException : public cond::Exception {
public:
explicit DataAlreadyPresentException(const std::string& message);
~DataAlreadyPresentException() throw() override;
// ---------- const member functions ---------------------
// ---------- static member functions --------------------
// ---------- member functions ---------------------------
private:
//DataAlreadyPresentException(const DataAlreadyPresentException&); // stop default
//const DataAlreadyPresentException& operator=(const DataAlreadyPresentException&); // stop default
// ---------- member data --------------------------------
};
class DataInvalidException : public cond::Exception {
public:
explicit DataInvalidException(const std::string& message);
~DataInvalidException() throw() override;
// ---------- const member functions ---------------------
// ---------- static member functions --------------------
// ---------- member functions ---------------------------
private:
//DataInvalidException(const DataInvalidException&); // stop default
//const DataInvalidException& operator=(const DataInvalidException&); // stop default
// ---------- member data --------------------------------
};
} // namespace l1t
#endif
|