ATLAS Offline Software
Loading...
Searching...
No Matches
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
14
15public:
16 LArConditionsException() : m_message("No message") {};
18
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
virtual const std::string & message() const
LArConditionsException(const std::string &message)
virtual const std::string & what() const