CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Exception.h
Go to the documentation of this file.
1 #ifndef CondTools_L1Trigger_Exception_h
2 #define CondTools_L1Trigger_Exception_h
3 // -*- C++ -*-
4 //
5 // Package: L1Trigger
6 // Class : Exception
7 //
16 //
17 // Original Author: Werner Sun
18 // Created: Mon Mar 24 21:27:21 CET 2008
19 // $Id: Exception.h,v 1.2 2009/08/14 19:58:10 wsun Exp $
20 //
21 
22 // system include files
23 #include <string>
24 
25 // user include files
27 
28 // forward declarations
29 
30 namespace l1t {
31 
33  {
34 
35  public:
36  explicit DataAlreadyPresentException( const std::string& message );
37  virtual ~DataAlreadyPresentException() throw();
38 
39  // ---------- const member functions ---------------------
40 
41  // ---------- static member functions --------------------
42 
43  // ---------- member functions ---------------------------
44 
45  private:
46  //DataAlreadyPresentException(const DataAlreadyPresentException&); // stop default
47 
48  //const DataAlreadyPresentException& operator=(const DataAlreadyPresentException&); // stop default
49 
50  // ---------- member data --------------------------------
51 
52  };
53 
55  {
56 
57  public:
58  explicit DataInvalidException( const std::string& message );
59  virtual ~DataInvalidException() throw();
60 
61  // ---------- const member functions ---------------------
62 
63  // ---------- static member functions --------------------
64 
65  // ---------- member functions ---------------------------
66 
67  private:
68  //DataInvalidException(const DataInvalidException&); // stop default
69 
70  //const DataInvalidException& operator=(const DataInvalidException&); // stop default
71 
72  // ---------- member data --------------------------------
73 
74  };
75 
76 }
77 
78 #endif
virtual ~DataInvalidException()
Definition: Exception.cc:52
std::string message() const
Definition: Exception.cc:187
DataInvalidException(const std::string &message)
Definition: Exception.cc:46
DataAlreadyPresentException(const std::string &message)
Definition: Exception.cc:31