Arcane
4.1.12.0
User documentation
Loading...
Searching...
No Matches
ParallelFatalErrorException.h
1
// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2
//-----------------------------------------------------------------------------
3
// Copyright 2000-2026 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 when a 'parallel' fatal error occurred. */
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
namespace
Arcane
23
{
24
25
/*---------------------------------------------------------------------------*/
26
/*---------------------------------------------------------------------------*/
27
28
/*!
29
* \ingroup Parallel
30
* \brief Exception when a 'parallel' fatal error is generated.
31
*
32
* A 'parallel' fatal error is a fatal error common to all
33
* subdomains. In this case, it is possible to cleanly stop the code
34
*/
35
class
ARCANE_UTILS_EXPORT ParallelFatalErrorException
36
:
public
Exception
37
{
38
public
:
39
40
ParallelFatalErrorException(
const
String
&
where
);
41
ParallelFatalErrorException(
const
TraceInfo
&
where
);
42
ParallelFatalErrorException(
const
String
&
where
,
const
String
&
message
);
43
ParallelFatalErrorException(
const
TraceInfo
&
where
,
const
String
&
message
);
44
ParallelFatalErrorException(
const
ParallelFatalErrorException& rhs)
45
:
Exception
(rhs)
46
{}
47
~ParallelFatalErrorException() ARCANE_NOEXCEPT {}
48
49
public
:
50
51
virtual
void
explain
(std::ostream& m)
const
;
52
53
private
:
54
};
55
56
/*---------------------------------------------------------------------------*/
57
/*---------------------------------------------------------------------------*/
58
59
}
// namespace Arcane
60
61
/*---------------------------------------------------------------------------*/
62
/*---------------------------------------------------------------------------*/
63
64
#endif
Arcane::Exception::where
const String & where() const
Location of the exception.
Definition
arccore/src/base/arccore/base/Exception.h:133
Arcane::Exception::message
const String & message() const
Exception message.
Definition
arccore/src/base/arccore/base/Exception.h:130
Arcane::Exception::Exception
Exception(const String &name, const String &where)
Definition
arccore/src/base/arccore/base/Exception.cc:73
Arcane::ParallelFatalErrorException::explain
virtual void explain(std::ostream &m) const
Explains the cause of the exception in the stream o.
Definition
ParallelFatalErrorException.cc:65
Arcane::String
Unicode character string.
Definition
arccore/src/base/arccore/base/String.h:70
Arcane::TraceInfo
Trace information.
Definition
arccore/src/base/arccore/base/TraceInfo.h:34
Arcane
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
Definition
AbstractCaseDocumentVisitor.cc:21
arcane
utils
ParallelFatalErrorException.h
Generated on
for Arcane by
1.16.1