14#include "arcane/utils/Exception.h"
29extern "C++" ARCANE_UTILS_EXPORT
Integer
30arcanePrintAnyException(
ITraceMng* msg,
bool is_no_continue)
38extern "C++" ARCANE_UTILS_EXPORT
Integer
39arcanePrintStdException(
const std::exception& ex,
ITraceMng* msg,
bool is_no_continue)
47extern "C++" ARCANE_UTILS_EXPORT
Integer
56extern "C++" ARCANE_UTILS_EXPORT
Integer
65extern "C++" ARCANE_UTILS_EXPORT
void
Fonctions utilitaires pour la gestion des exceptions.
ARCCORE_COMMON_EXPORT Int32 print(ITraceMng *tm, bool is_no_continue=true)
Imprime un message pour une exception inconnue.
ARCCORE_COMMON_EXPORT void callAndTerminateIfThrow(std::function< void()> function, ITraceMng *tm=nullptr)
Appelle une fonction et termine le programme en cas d'exception.
ARCCORE_COMMON_EXPORT Int32 callWithTryCatch(std::function< void()> function, ITraceMng *tm=nullptr)
Appelle une fonction en récupérant et affichant les exceptions.
Classe de base d'une exception.
Interface du gestionnaire de traces.
-*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
Int32 Integer
Type représentant un entier.
Integer arcaneCallFunctionAndCatchException(std::function< void()> function)
void arcaneCallFunctionAndTerminateIfThrow(std::function< void()> function)