The Gaudi Framework  v33r1 (b1225454)
UpdateManagerException.h
Go to the documentation of this file.
1 /***********************************************************************************\
2 * (c) Copyright 1998-2019 CERN for the benefit of the LHCb and ATLAS collaborations *
3 * *
4 * This software is distributed under the terms of the Apache version 2 licence, *
5 * copied verbatim in the file "LICENSE". *
6 * *
7 * In applying this licence, CERN does not waive the privileges and immunities *
8 * granted to it by virtue of its status as an Intergovernmental Organization *
9 * or submit itself to any jurisdiction. *
10 \***********************************************************************************/
11 #ifndef GAUDIKERNEL_UPDATEMANAGEREXCEPTION_H
12 #define GAUDIKERNEL_UPDATEMANAGEREXCEPTION_H 1
13 
14 // Include files
16 
27 public:
29  UpdateManagerException( const std::string& Message = "unspecified exception",
30  const std::string& Tag = "*UpdateManagerSvc*", const StatusCode& Code = StatusCode::FAILURE )
31  : GaudiException( Message, Tag, Code ) {}
32 
34  const GaudiException& Ex )
35  : GaudiException( Message, Tag, Code, Ex ) {}
36 
38  ~UpdateManagerException() throw() override = default;
39 
41  UpdateManagerException* clone() const override { return new UpdateManagerException( *this ); }
42 };
43 #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)
STL class.
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:61
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:27
constexpr static const auto FAILURE
Definition: StatusCode.h:101
#define GAUDI_API
Definition: Kernel.h:81