Error handling module.
More...
|
#define | STFINV_abort(M) throw( stfinv::Exception ( M , __FILE__, __LINE__ )) |
| Abort and give a message. More...
|
|
#define | STFINV_assert(C, M) STFINV_Xassert( C , M , stfinv::Exception ) |
| Check an assertion and report by throwing an exception. More...
|
|
#define | STFINV_illegal STFINV_abort("illegal call!") |
| Abort if function is called illegally. More...
|
|
#define | STFINV_nonfatal_assert(F, C, M, V) if (F) { STFINV_report_assert(C,M,V) } else { STFINV_assert(C,M) } |
| Macro to distinguish between fatal and non fatal assertions. More...
|
|
#define | STFINV_report_assert(C, M, V) |
| Check an assertion and report only. More...
|
|
#define | STFINV_Xassert(C, M, E) if (!(C)) { throw( E ( M , __FILE__, __LINE__, #C )); } |
| Check an assertion and report by throwing an exception. More...
|
|
Error handling module.
- Todo:
- A detailed description for implementers is still missing
- Date
- 04.10.2015