11 #ifndef EVIO_6_0_EVIOEXCEPTION_H
12 #define EVIO_6_0_EVIOEXCEPTION_H
33 explicit EvioException(
const std::string & msg) noexcept : std::runtime_error(msg) {}
34 explicit EvioException(
const std::exception & ex) noexcept : std::runtime_error(ex.what()) {}
36 EvioException(
const std::string & msg,
const char *file,
int line) noexcept : std::runtime_error(msg) {
38 o << file <<
":" << line <<
":" << msg;
43 #define throwEvioLine(arg) throw EvioException(arg, __FILE__, __LINE__);
47 #endif //EVIO_6_0_EVIOEXCEPTION_H
EvioException(const std::exception &ex) noexcept
Definition: EvioException.h:34
Exception class for Evio software package.
Definition: EvioException.h:29
EvioException(const std::string &msg) noexcept
Definition: EvioException.h:33
EvioException(const std::string &msg, const char *file, int line) noexcept
Definition: EvioException.h:36