CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HandleExceptionFactory.h
Go to the documentation of this file.
1 #ifndef DataFormats_Common_HandleExceptionFactory_h
2 #define DataFormats_Common_HandleExceptionFactory_h
3 // -*- C++ -*-
4 //
5 // Package: DataFormats/Common
6 // Class : HandleExceptionFactory
7 //
22 //
23 // Original Author: Chris Jones
24 // Created: Wed, 04 Dec 2013 16:47:12 GMT
25 //
26 
27 // system include files
28 #include <memory>
29 
30 // user include files
31 
32 // forward declarations
33 
34 namespace cms {
35  class Exception;
36 }
37 
38 namespace edm {
39 
41  {
42 
43  public:
45  virtual ~HandleExceptionFactory();
46 
47  // ---------- const member functions ---------------------
48  virtual std::shared_ptr<cms::Exception> make() const = 0;
49 
50  private:
51  //HandleExceptionFactory(const HandleExceptionFactory&); // stop default
52 
53  //const HandleExceptionFactory& operator=(const HandleExceptionFactory&); // stop default
54 
55  // ---------- member data --------------------------------
56 
57  };
58 }
59 
60 
61 #endif
virtual std::shared_ptr< cms::Exception > make() const =0