Go to the source code of this file.
Classes | |
class | Exception |
class | LoggingException |
class | OSException |
Defines | |
#define | EXCEPTION_MANDATORY |
#define | STACK_ADD |
#define | throw_exception(context, exception) |
#define | check_result(code, context, desc) if((code)) throw_exception((context), desc) |
Variables | |
EWL_BEGIN_NAMESPACE | |
EWL_END_NAMESPACE |
|
|
|
Value: __FILE__, \ __LINE__, \ std::string(CLASS_PREFIX) + __FUNCTION__ |
|
|
|
Value: { STACK_ADD; \ { \ char *text, *desc; \ int code; \ std::string exc; \ \ code = edg_wll_Error((context), &text, &desc); \ exc = exception; \ if (text) { \ exc += ": "; \ exc += text; \ } \ if (desc) { \ exc += ": "; \ exc += desc; \ } \ free(text); \ free(desc); \ throw LoggingException(EXCEPTION_MANDATORY, \ code, \ exc); \ } \ } |
|
|
|
|