Arcane
v3.14.10.0
Documentation utilisateur
Chargement...
Recherche...
Aucune correspondance
ArithmeticException.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
/* ArithmeticException.cc (C) 2000-2016 */
9
/* */
10
/* Exception lorsqu'une erreur arithmétique survient. */
11
/*---------------------------------------------------------------------------*/
12
/*---------------------------------------------------------------------------*/
13
14
#include "arcane/utils/ArcanePrecomp.h"
15
16
#include "arcane/utils/String.h"
17
#include "arcane/utils/ArithmeticException.h"
18
19
/*---------------------------------------------------------------------------*/
20
/*---------------------------------------------------------------------------*/
21
22
ARCANE_BEGIN_NAMESPACE
23
24
/*---------------------------------------------------------------------------*/
25
/*---------------------------------------------------------------------------*/
26
27
ArithmeticException::
28
ArithmeticException(
const
TraceInfo& awhere)
29
: Exception(
"ArithmeticException"
,awhere,
"arithmetic or floating error"
)
30
{
31
}
32
33
/*---------------------------------------------------------------------------*/
34
/*---------------------------------------------------------------------------*/
35
36
ArithmeticException::
37
ArithmeticException(
const
TraceInfo& awhere,
const
StackTrace& stack_trace)
38
: Exception(
"ArithmeticException"
,awhere,
"arithmetic or floating error"
,stack_trace)
39
{
40
}
41
42
/*---------------------------------------------------------------------------*/
43
/*---------------------------------------------------------------------------*/
44
45
ArithmeticException::
46
ArithmeticException(
const
TraceInfo& awhere,
const
String& message)
47
: Exception(
"ArithmeticException"
,awhere,message)
48
{
49
}
50
51
/*---------------------------------------------------------------------------*/
52
/*---------------------------------------------------------------------------*/
53
54
ArithmeticException::
55
ArithmeticException(
const
TraceInfo& where,
const
String& message,
56
const
StackTrace& stack_trace)
57
: Exception(
"ArithmeticException"
,where,message,stack_trace)
58
{
59
}
60
61
/*---------------------------------------------------------------------------*/
62
/*---------------------------------------------------------------------------*/
63
64
ARCANE_END_NAMESPACE
65
66
/*---------------------------------------------------------------------------*/
67
/*---------------------------------------------------------------------------*/
68
arcane
utils
ArithmeticException.cc
Généré le Lundi 18 Novembre 2024 02:56:52 pour Arcane par
1.9.8