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
6 #include "GaudiKernel/GaudiException.h"
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.
#define GAUDI_API
Definition: Kernel.h:108
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:30
Exception thrown by the UpdateManagerSvc when something goes wrong.
virtual GaudiException * clone() const
clone operation
The Message class.
Definition: Message.h:15