Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-02-21 10:00:37

0001 /***********************************************************************************\
0002 * (c) Copyright 1998-2019 CERN for the benefit of the LHCb and ATLAS collaborations *
0003 *                                                                                   *
0004 * This software is distributed under the terms of the Apache version 2 licence,     *
0005 * copied verbatim in the file "LICENSE".                                            *
0006 *                                                                                   *
0007 * In applying this licence, CERN does not waive the privileges and immunities       *
0008 * granted to it by virtue of its status as an Intergovernmental Organization        *
0009 * or submit itself to any jurisdiction.                                             *
0010 \***********************************************************************************/
0011 #ifndef GAUDIKERNEL_UPDATEMANAGEREXCEPTION_H
0012 #define GAUDIKERNEL_UPDATEMANAGEREXCEPTION_H 1
0013 
0014 // Include files
0015 #include "GaudiKernel/GaudiException.h"
0016 
0017 /** @class UpdateManagerException UpdateManagerException.h GaudiKernel/UpdateManagerException.h
0018  *
0019  *  Exception thrown by the UpdateManagerSvc when something goes wrong.
0020  *
0021  *  @see GaudiException
0022  *
0023  *  @author Marco Clemencic
0024  *  @date   2005-12-14
0025  */
0026 class GAUDI_API UpdateManagerException : public GaudiException {
0027 public:
0028   /// Standard constructor
0029   UpdateManagerException( const std::string& Message = "unspecified exception",
0030                           const std::string& Tag = "*UpdateManagerSvc*", const StatusCode& Code = StatusCode::FAILURE )
0031       : GaudiException( Message, Tag, Code ) {}
0032 
0033   UpdateManagerException( const std::string& Message, const std::string& Tag, const StatusCode& Code,
0034                           const GaudiException& Ex )
0035       : GaudiException( Message, Tag, Code, Ex ) {}
0036 
0037   /// Destructor.
0038   ~UpdateManagerException() throw() override = default;
0039 
0040   /// Clone the exception.
0041   UpdateManagerException* clone() const override { return new UpdateManagerException( *this ); }
0042 };
0043 #endif // GAUDIKERNEL_UPDATEMANAGEREXCEPTION_H