14#include "arccore/common/Collection.h"
16#include "arccore/base/ArgumentException.h"
17#include "arccore/base/TraceInfo.h"
21#include "arccore/common/List.h"
31 void _doNoReferenceError(
const void* ptr)
33 std::cerr <<
"** FATAL: Null reference.\n";
34 std::cerr <<
"** FATAL: Trying to use an item not referenced.\n";
35 std::cerr <<
"** FATAL: Item is located at memory address " << ptr <<
".\n";
44_noReferenceErrorCallTerminate(
const void* ptr)
46 _doNoReferenceError(ptr);
53extern "C" ARCCORE_COMMON_EXPORT
void
54throwOutOfRangeException()
56 std::cerr <<
"** FATAL: Invalid access on a collection (array, list, ...).\n";
Exception lorsqu'un argument est invalide.
-*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
ARCCORE_BASE_EXPORT void arccoreDebugPause(const char *msg)
Passe en mode pause ou lance une erreur fatale.