Arcane
4.1.12.0
User documentation
Loading...
Searching...
No Matches
ArithmeticException.cc
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
/* ArithmeticException.cc (C) 2000-2016 */
9
/* */
10
/* Exception when an arithmetic error occurs. */
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
namespace
Arcane
23
{
24
25
/*---------------------------------------------------------------------------*/
26
/*---------------------------------------------------------------------------*/
27
28
ArithmeticException::
29
ArithmeticException(
const
TraceInfo
& awhere)
30
:
Exception
(
"ArithmeticException"
, awhere,
"arithmetic or floating error"
)
31
{
32
}
33
34
/*---------------------------------------------------------------------------*/
35
/*---------------------------------------------------------------------------*/
36
37
ArithmeticException::
38
ArithmeticException(
const
TraceInfo& awhere,
const
StackTrace& stack_trace)
39
: Exception(
"ArithmeticException"
, awhere,
"arithmetic or floating error"
, stack_trace)
40
{
41
}
42
43
/*---------------------------------------------------------------------------*/
44
/*---------------------------------------------------------------------------*/
45
46
ArithmeticException::
47
ArithmeticException(
const
TraceInfo& awhere,
const
String& message)
48
: Exception(
"ArithmeticException"
, awhere, message)
49
{
50
}
51
52
/*---------------------------------------------------------------------------*/
53
/*---------------------------------------------------------------------------*/
54
55
ArithmeticException::
56
ArithmeticException(
const
TraceInfo& where,
const
String& message,
57
const
StackTrace& stack_trace)
58
: Exception(
"ArithmeticException"
, where, message, stack_trace)
59
{
60
}
61
62
/*---------------------------------------------------------------------------*/
63
/*---------------------------------------------------------------------------*/
64
65
}
// namespace Arcane
66
67
/*---------------------------------------------------------------------------*/
68
/*---------------------------------------------------------------------------*/
Arcane::Exception
Base class for an exception.
Definition
arccore/src/base/arccore/base/Exception.h:49
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
ArithmeticException.cc
Generated on
for Arcane by
1.16.1