Macros for ecl exception handling. More...
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_exceptions_LOCAL |
#define | ecl_exceptions_PUBLIC |
#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_exceptions_LOCAL |
Definition at line 38 of file macros.hpp.
#define ecl_exceptions_PUBLIC |
Definition at line 37 of file macros.hpp.
#define ECL_HAS_EXCEPTIONS |
Definition at line 104 of file macros.hpp.