14#include "arcane/utils/ArcanePrecomp.h"
16#include "arcane/utils/FatalErrorException.h"
17#include "arcane/utils/ValueChecker.h"
29_addError(
const String& message)
32 if (m_throw_on_error) {
33 throw FatalErrorException(m_trace_info, message);
36 m_last_error_str = message;
37 m_ostr() << message <<
'\n';
47 if (m_nb_error != 0) {
Exception when a fatal error has occurred.
Unicode character string.
void throwIfError()
Throws an exception if nbError()!=0.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --