Functions | |
void | issue_error_assert (const char *file, int line, const char *function, const char *cond, const char *exc_name, ExceptionBase &e) |
template<class exc > | |
void | issue_error_throw (const char *file, int line, const char *function, const char *cond, const char *exc_name, exc e) |
template<class exc > | |
void | issue_error_assert_1 (const char *file, int line, const char *function, const char *cond, const char *exc_name, exc e) |
void | abort () |
The functions in this namespace are in connection with the Assert and AssertThrow mechanism but are solely for internal purposes and are not for use outside the exception handling and throwing mechanism.
void deal_II_exceptions::internals::issue_error_assert | ( | const char * | file, | |
int | line, | |||
const char * | function, | |||
const char * | cond, | |||
const char * | exc_name, | |||
ExceptionBase & | e | |||
) |
This routine does the main work for the exception generation mechanism used in the Assert
macro.
Referenced by issue_error_assert_1().
void deal_II_exceptions::internals::issue_error_throw | ( | const char * | file, | |
int | line, | |||
const char * | function, | |||
const char * | cond, | |||
const char * | exc_name, | |||
exc | e | |||
) | [inline] |
This routine does the main work for the exception generation mechanism used in the AssertThrow
macro.
void deal_II_exceptions::internals::issue_error_assert_1 | ( | const char * | file, | |
int | line, | |||
const char * | function, | |||
const char * | cond, | |||
const char * | exc_name, | |||
exc | e | |||
) | [inline] |
Relay exceptions from the Assert
macro to the __IssueError_Assert
function. Used to convert the last argument from arbitrary type to ExceptionBase which is not possible inside the Assert
macro due to syntactical difficulties in connection with the way we use the macro and the declaration of the exception classes.
References issue_error_assert().
void deal_II_exceptions::internals::abort | ( | ) |
Abort the program. This function is used so that we need not include cstdlib
into this file since it is included into all other files of the library and we would like to keep its include list as short as possible.