8#ifndef _Belle2_Exception_hh
9#define _Belle2_Exception_hh
20 class Exception :
public std::exception {
24 Exception(
const std::string&);
25 Exception(
const std::string&,
int err);
27 virtual ~Exception() {}
29 virtual ~Exception()
throw() {}
34 virtual const char* what()
const noexcept;
36 virtual const char* what()
const throw();
38 int err()
const {
return m_err; }
41 std::string m_comment;
Abstract base class for different kinds of events.