GComm  0.2.3
exception.hpp
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2009 Codership Oy <info@codership.com>
3  */
4 
11 #ifndef GCOMM_EXCEPTION_HPP
12 #define GCOMM_EXCEPTION_HPP
13 
14 #include "gu_throw.hpp"
15 
21 #define gcomm_assert(cond_) \
22  if ((cond_) == false) gu_throw_fatal << #cond_ << ": "
23 
24 #endif // GCOMM_EXCEPTION_HPP