Arcane
v3.16.0.0
Documentation utilisateur
Chargement...
Recherche...
Aucune correspondance
ParallelFatalErrorException.h
1
// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2
//-----------------------------------------------------------------------------
3
// Copyright 2000-2022 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
4
// See the top-level COPYRIGHT file for details.
5
// SPDX-License-Identifier: Apache-2.0
6
//-----------------------------------------------------------------------------
7
/*---------------------------------------------------------------------------*/
8
/* ParallelFatalErrorException.h (C) 2000-2018 */
9
/* */
10
/* Exception lorsqu'une erreur fatale 'parallèle' est survenue. */
11
/*---------------------------------------------------------------------------*/
12
#ifndef ARCANE_UTILS_PARALLELFATALERROREXCEPTION_H
13
#define ARCANE_UTILS_PARALLELFATALERROREXCEPTION_H
14
/*---------------------------------------------------------------------------*/
15
/*---------------------------------------------------------------------------*/
16
17
#include "arcane/utils/Exception.h"
18
19
/*---------------------------------------------------------------------------*/
20
/*---------------------------------------------------------------------------*/
21
22
ARCANE_BEGIN_NAMESPACE
23
24
/*---------------------------------------------------------------------------*/
25
/*---------------------------------------------------------------------------*/
26
/*!
27
* \ingroup Parallel
28
* \brief Exception lorsqu'une erreur fatale 'parallèle' est générée.
29
*
30
* Une erreur fatale 'parallèle' est une erreur fatale commune à tout les
31
* sous-domaines. Dans ce cas, il est possible d'arrêter proprement le code
32
*/
33
class
ARCANE_UTILS_EXPORT ParallelFatalErrorException
34
:
public
Exception
35
{
36
public
:
37
38
ParallelFatalErrorException(
const
String
&
where
);
39
ParallelFatalErrorException(
const
TraceInfo
&
where
);
40
ParallelFatalErrorException(
const
String
&
where
,
const
String
&
message
);
41
ParallelFatalErrorException(
const
TraceInfo
&
where
,
const
String
&
message
);
42
ParallelFatalErrorException(
const
ParallelFatalErrorException& rhs)
43
:
Exception
(rhs){}
44
~ParallelFatalErrorException() ARCANE_NOEXCEPT {}
45
46
public
:
47
48
virtual
void
explain
(std::ostream& m)
const
;
49
50
private
:
51
};
52
53
/*---------------------------------------------------------------------------*/
54
/*---------------------------------------------------------------------------*/
55
56
/*---------------------------------------------------------------------------*/
57
/*---------------------------------------------------------------------------*/
58
59
ARCANE_END_NAMESPACE
60
61
/*---------------------------------------------------------------------------*/
62
/*---------------------------------------------------------------------------*/
63
64
#endif
65
Arcane::Exception::explain
virtual void explain(std::ostream &o) const
Explique la cause de l'exception dans le flot o.
Definition
arccore/src/base/arccore/base/Exception.cc:276
Arcane::Exception::where
const String & where() const
Localisation de l'exception.
Definition
arccore/src/base/arccore/base/Exception.h:138
Arcane::Exception::message
const String & message() const
Message de l'exception.
Definition
arccore/src/base/arccore/base/Exception.h:135
Arcane::Exception::Exception
Exception(const String &name, const String &where)
Definition
arccore/src/base/arccore/base/Exception.cc:74
Arcane::String
Chaîne de caractères unicode.
Definition
arccore/src/base/arccore/base/String.h:70
Arcane::TraceInfo
Informations de trace.
Definition
arccore/src/base/arccore/base/TraceInfo.h:33
arcane
utils
ParallelFatalErrorException.h
Généré le Lundi 24 Mars 2025 02:48:36 pour Arcane par
1.13.2