Belle II Software development
IOException.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_IOException_hh
9#define _Belle2_IOException_hh
10
11#include "daq/slc/base/Exception.h"
12
13namespace Belle2 {
19 class IOException : public Exception {
20
21 public:
22 IOException() {}
23 IOException(const std::string& comment, ...);
24 IOException(int err, const std::string& comment, ...);
25#if __GNUC__ >= 7
26 virtual ~IOException() {}
27#else
28 virtual ~IOException() throw() {}
29#endif
30
31 };
32
34}
35
36#endif
Abstract base class for different kinds of events.