test
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>
30 
31 // user include files
32 
33 // forward declarations
34 
35 namespace cms {
36  class Exception;
37 }
38 
39 namespace edm {
40 
42  {
43 
44  public:
46  virtual ~HandleExceptionFactory();
47 
48  // ---------- const member functions ---------------------
49  virtual std::shared_ptr<cms::Exception> make() const = 0;
50 
51  private:
52  //HandleExceptionFactory(const HandleExceptionFactory&); // stop default
53 
54  //const HandleExceptionFactory& operator=(const HandleExceptionFactory&); // stop default
55 
56  // ---------- member data --------------------------------
57 
58  };
59 }
60 
61 
62 #endif
virtual std::shared_ptr< cms::Exception > make() const =0