Skip to content
Snippets Groups Projects
Commit 7256f7e8 authored by René Fritze's avatar René Fritze
Browse files

new exception type

parent 0402ab3e
No related branches found
No related tags found
No related merge requests found
...@@ -66,6 +66,15 @@ public: ...@@ -66,6 +66,15 @@ public:
: std::runtime_error(msg){}; : std::runtime_error(msg){};
}; };
namespace Stuff {
class singlerun_abort_exception : public std::runtime_error
{
public:
singlerun_abort_exception(std::string msg)
: std::runtime_error(msg){};
};
}
#ifndef NDEBUG #ifndef NDEBUG
#define ASSERT_EXCEPTION(cond, msg) \ #define ASSERT_EXCEPTION(cond, msg) \
if (!(cond)) { \ if (!(cond)) { \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment