1
0
mirror of https://github.com/codership/wsrep-lib.git synced 2025-06-13 04:01:32 +03:00

Changed project name to wsrep-lib.

This commit is contained in:
Teemu Ollakka
2018-06-03 21:56:28 +03:00
parent 188bda1339
commit d3cb537d1e
37 changed files with 730 additions and 730 deletions

View File

@ -0,0 +1,36 @@
//
// Copyright (C) 2018 Codership Oy <info@codership.com>
//
#ifndef WSREP_EXCEPTION_HPP
#define WSREP_EXCEPTION_HPP
#include <stdexcept>
#include <cstdlib>
namespace wsrep
{
class runtime_error : public std::runtime_error
{
public:
runtime_error(const std::string& msg)
: std::runtime_error(msg)
{
::abort();
}
};
class not_implemented_error : public std::exception
{
public:
not_implemented_error()
: std::exception()
{
::abort();
}
};
}
#endif // WSREP_EXCEPTION_HPP