The Gaudi Framework  v30r3 (a5ef0a68)
UpdateManagerException.h
Go to the documentation of this file.
1 #ifndef GAUDIKERNEL_UPDATEMANAGEREXCEPTION_H
2 #define GAUDIKERNEL_UPDATEMANAGEREXCEPTION_H 1
3 
4 // Include files
6 
17 {
18 public:
20  UpdateManagerException( const std::string& Message = "unspecified exception",
21  const std::string& Tag = "*UpdateManagerSvc*", const StatusCode& Code = StatusCode::FAILURE )
22  : GaudiException( Message, Tag, Code )
23  {
24  }
25 
27  const GaudiException& Ex )
28  : GaudiException( Message, Tag, Code, Ex )
29  {
30  }
31 
33  ~UpdateManagerException() throw() override = default;
34 
36  UpdateManagerException* clone() const override { return new UpdateManagerException( *this ); }
37 };
38 #endif // GAUDIKERNEL_UPDATEMANAGEREXCEPTION_H
constexpr static const auto FAILURE
Definition: StatusCode.h:88
Define general base for Gaudi exception.
UpdateManagerException(const std::string &Message, const std::string &Tag, const StatusCode &Code, const GaudiException &Ex)
STL class.
UpdateManagerException * clone() const override
Clone the exception.
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:51
Exception thrown by the UpdateManagerSvc when something goes wrong.
UpdateManagerException(const std::string &Message="unspecified exception", const std::string &Tag="*UpdateManagerSvc*", const StatusCode &Code=StatusCode::FAILURE)
Standard constructor.
The Message class.
Definition: Message.h:15
#define GAUDI_API
Definition: Kernel.h:104