ATLAS Offline Software
LArCalorimeter
LArElecCalib
LArElecCalib
LArConditionsException.h
Go to the documentation of this file.
1
//Dear emacs, this is -*- C++ -*-
2
3
/*
4
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
8
#ifndef LARELECCALIB_LARCONDITONSECEPTION_H
9
#define LARELECCALIB_LARCONDITONSECEPTION_H
10
11
#include <string>
12
13
class
LArConditionsException
{
14
15
public
:
16
LArConditionsException
() :
m_message
(
"No message"
) {};
17
LArConditionsException
(
const
std::string&
message
) :
m_message
(
message
) {};
18
19
virtual
~LArConditionsException
() {};
20
21
virtual
const
std::string&
what
()
const
{
return
m_message
;}
22
virtual
const
std::string&
message
()
const
{
return
m_message
;}
23
virtual
operator
std::string()
const
{
return
m_message
;}
24
25
private
:
26
std::string
m_message
;
27
28
};
29
30
31
#endif
LArConditionsException::m_message
std::string m_message
Definition:
LArConditionsException.h:26
LArConditionsException::LArConditionsException
LArConditionsException(const std::string &message)
Definition:
LArConditionsException.h:17
LArConditionsException::what
virtual const std::string & what() const
Definition:
LArConditionsException.h:21
LArConditionsException::~LArConditionsException
virtual ~LArConditionsException()
Definition:
LArConditionsException.h:19
LArConditionsException
Definition:
LArConditionsException.h:13
LArConditionsException::message
virtual const std::string & message() const
Definition:
LArConditionsException.h:22
LArConditionsException::LArConditionsException
LArConditionsException()
Definition:
LArConditionsException.h:16
Generated on Thu Nov 7 2024 21:19:28 for ATLAS Offline Software by
1.8.18