1 /* Copyright (c) 2016-2019. The SimGrid Team. All rights reserved. */
3 /* This program is free software; you can redistribute it and/or modify it
4 * under the terms of the license (GNU LGPL) which comes with this package. */
6 #include <simgrid/Exception.hpp>
12 /** Display informations about an exception
14 * We display: the exception type, name, attached backtraces (if any) and
15 * the nested exception (if any).
19 XBT_PUBLIC void log_exception(e_xbt_log_priority_t priority, const char* context, std::exception const& exception);
21 XBT_PUBLIC void install_exception_handler();