CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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  public:
43  virtual ~HandleExceptionFactory();
44 
45  // ---------- const member functions ---------------------
46  virtual std::shared_ptr<cms::Exception> make() const = 0;
47 
48  private:
49  //HandleExceptionFactory(const HandleExceptionFactory&); // stop default
50 
51  //const HandleExceptionFactory& operator=(const HandleExceptionFactory&); // stop default
52 
53  // ---------- member data --------------------------------
54  };
55 } // namespace edm
56 
57 #endif
virtual std::shared_ptr< cms::Exception > make() const =0