Monitoring
3.3.4
O2 Monitoring library
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
MonitoringException.h
Go to the documentation of this file.
1
// Copyright CERN and copyright holders of ALICE O2. This software is
2
// distributed under the terms of the GNU General Public License v3 (GPL
3
// Version 3), copied verbatim in the file "COPYING".
4
//
5
// See http://alice-o2.web.cern.ch/license for full licensing information.
6
//
7
// In applying this license 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
15
16
#ifndef ALICEO2_MONITORING_EXCEPTIONS_INTERNAL_MONITORING_H
17
#define ALICEO2_MONITORING_EXCEPTIONS_INTERNAL_MONITORING_H
18
19
#include <exception>
20
#include <string>
21
22
namespace
o2
23
{
25
namespace
monitoring
26
{
27
29
class
MonitoringException
:
public
std::exception
30
{
31
public
:
32
MonitoringException
(
const
std::string& source,
const
std::string& message);
33
MonitoringException
(
int
code,
const
std::string& source,
const
std::string& message);
34
~
MonitoringException
() =
default
;
35
const
char
* what()
const
throw
();
36
37
private
:
38
std::string message;
39
};
40
41
}
// namespace monitoring
42
}
// namespace o2
43
44
#endif //ALICEO2_MONITORING_EXCEPTIONS_INTERNAL_MONITORING_H
o2
Definition:
Backend.h:23
o2::monitoring::MonitoringException
Internal monitoring exception.
Definition:
MonitoringException.h:29
src
Exceptions
MonitoringException.h
Generated by
1.8.11