Arcane  v3.14.10.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
ParallelFatalErrorException.cc
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.cc (C) 2000-2018 */
9/* */
10/* Exception lorsqu'une erreur fatale 'parallèle' est survenue. */
11/*---------------------------------------------------------------------------*/
12/*---------------------------------------------------------------------------*/
13
14#include "arcane/utils/ArcanePrecomp.h"
15
16#include "arcane/utils/Iostream.h"
17#include "arcane/utils/ParallelFatalErrorException.h"
18
19/*---------------------------------------------------------------------------*/
20/*---------------------------------------------------------------------------*/
21
22ARCANE_BEGIN_NAMESPACE
23
24/*---------------------------------------------------------------------------*/
25/*---------------------------------------------------------------------------*/
26
27ParallelFatalErrorException::
28ParallelFatalErrorException(const String& where)
29: Exception("ParallelFatalError",where)
30{
31}
32
33/*---------------------------------------------------------------------------*/
34/*---------------------------------------------------------------------------*/
35
36ParallelFatalErrorException::
37ParallelFatalErrorException(const TraceInfo& where)
38: Exception("ParallelFatalError",where)
39{
40}
41
42/*---------------------------------------------------------------------------*/
43/*---------------------------------------------------------------------------*/
44
45ParallelFatalErrorException::
46ParallelFatalErrorException(const String& where,const String& message)
47: Exception("ParallelFatalError",where,message)
48{
49}
50
51/*---------------------------------------------------------------------------*/
52/*---------------------------------------------------------------------------*/
53
54ParallelFatalErrorException::
55ParallelFatalErrorException(const TraceInfo& where,const String& message)
56: Exception("ParallelFatalError",where,message)
57{
58}
59
60/*---------------------------------------------------------------------------*/
61/*---------------------------------------------------------------------------*/
62
63void ParallelFatalErrorException::
64explain(std::ostream& m) const
65{
66 m << "Fatal error occured.\n"
67 << "Can not further proceed.\n";
68}
69
70/*---------------------------------------------------------------------------*/
71/*---------------------------------------------------------------------------*/
72
73ARCANE_END_NAMESPACE
74
75/*---------------------------------------------------------------------------*/
76/*---------------------------------------------------------------------------*/
77