SimGrid
3.16
Versatile Simulation of Distributed Systems
|
#include <stdio.h>
#include <stdlib.h>
#include <xbt/backtrace.hpp>
#include "src/internal_config.h"
#include "xbt/ex.h"
#include <xbt/ex.hpp>
#include "xbt/log.h"
#include "xbt/log.hpp"
#include "xbt/backtrace.h"
#include "xbt/str.h"
#include "src/xbt_modinter.h"
#include "simgrid/sg_config.h"
Functions | |
XBT_LOG_NEW_DEFAULT_SUBCATEGORY (xbt_ex, xbt, "Exception mechanism") | |
void | _xbt_throw (char *message, xbt_errcat_t errcat, int value, const char *file, int line, const char *func) |
Helper function used to throw exceptions in C. More... | |
void | xbt_ex_display (xbt_ex_t *e) |
shows an exception content and the associated stack if available More... | |
const char * | xbt_ex_catname (xbt_errcat_t cat) |
returns a short name for the given exception category More... | |
XBT_LOG_NEW_DEFAULT_SUBCATEGORY | ( | xbt_ex | , |
xbt | , | ||
"Exception mechanism" | |||
) |
void _xbt_throw | ( | char * | message, |
xbt_errcat_t | errcat, | ||
int | value, | ||
const char * | file, | ||
int | line, | ||
const char * | func | ||
) |
Helper function used to throw exceptions in C.