Belle II Software  release-08-01-10
TimeoutException.h
1 /**************************************************************************
2  * basf2 (Belle II Analysis Software Framework) *
3  * Author: The Belle II Collaboration *
4  * *
5  * See git log for contributors and copyright holders. *
6  * This file is licensed under LGPL-3.0, see LICENSE.md. *
7  **************************************************************************/
8 #ifndef _Belle2_TimeoutException_hh
9 #define _Belle2_TimeoutException_hh
10 
11 #include "daq/slc/base/IOException.h"
12 
13 namespace Belle2 {
19  class TimeoutException : public IOException {
20 
21  public:
22  TimeoutException() {}
23  TimeoutException(const std::string& comment, ...);
24  TimeoutException(int err, const std::string& comment, ...);
25 #if __GNUC__ >= 7
26  ~TimeoutException() {}
27 #else
28  ~TimeoutException() throw() {}
29 #endif
30 
31  };
32 
34 }
35 
36 #endif
Abstract base class for different kinds of events.