All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
UpdateManagerException.h
Go to the documentation of this file.
1 // $Id: UpdateManagerException.h,v 1.1 2005/12/20 14:06:19 hmd Exp $
2 #ifndef GAUDIKERNEL_UPDATEMANAGEREXCEPTION_H
3 #define GAUDIKERNEL_UPDATEMANAGEREXCEPTION_H 1
4 
5 // Include files
7 
18 public:
20  UpdateManagerException( const std::string& Message = "unspecified exception",
21  const std::string& Tag = "*UpdateManagerSvc*",
22  const StatusCode & Code = StatusCode::FAILURE ):
23  GaudiException(Message,Tag,Code) {}
24 
25  UpdateManagerException( const std::string& Message,
26  const std::string& Tag,
27  const StatusCode & Code,
28  const GaudiException& Ex ):
29  GaudiException(Message,Tag,Code,Ex) {}
30 
32  virtual ~UpdateManagerException() throw () {}
33 
35  virtual UpdateManagerException* clone() const { return new UpdateManagerException(*this); }
36 
37 };
38 #endif // GAUDIKERNEL_UPDATEMANAGEREXCEPTION_H
Define general base for Gaudi exception.
UpdateManagerException(const std::string &Message, const std::string &Tag, const StatusCode &Code, const GaudiException &Ex)
virtual UpdateManagerException * clone() const
Clone the exception.
virtual ~UpdateManagerException()
Destructor.
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:30
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:108