1 /* Copyright (c) 2016. 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. */
7 #include <xbt/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) logException(
20 e_xbt_log_priority_t priority,
21 const char* context, std::exception const& exception);
23 XBT_PUBLIC(void) installExceptionHandler();