Macros for ecl exception handling. More...
#include <ecl/config/ecl.hpp>
Go to the source code of this file.
Defines | |
#define | ecl_assert_throw(expression, exception) if ( !(expression) ) { throw exception; } |
Debug mode throw with a logical condition check. | |
#define | ecl_assert_throw_decl(exception) throw(exception) |
Assure throw exception declaration. | |
#define | ecl_catch(exception) catch(exception) |
The catch part of a try-catch macro matching ecl_throw calls. | |
#define | ecl_debug_catch(exception) catch(exception) |
The catch part of a try-catch macro matching ecl_debug_throw/ecl_assert_throw calls. | |
#define | ecl_debug_throw(exception) throw exception; |
Debug mode exception throw. | |
#define | ecl_debug_throw_decl(exception) throw(exception) |
Debug mode throw exception declaration. | |
#define | ecl_debug_try try |
The try part of a try-catch macro matching ecl_debug_throw/ecl_assert_throw calls. | |
#define | ECL_HAS_EXCEPTIONS |
#define | ecl_throw(exception) throw exception; |
Standard ecl throw exception throw. | |
#define | ecl_throw_decl(exception) throw(exception) |
Standard ecl throw exception declaration. | |
#define | ecl_try try |
The try part of a try-catch macro matching ecl_throw calls. |
#define ECL_HAS_EXCEPTIONS |
Definition at line 84 of file macros.hpp.